Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15247

iOS: Ti.Blob.imageAsResized always returns a png image

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      Titanium Studio 3.1.1, iOS

    • Story Points:
      1
    • Sprint:
      2015 Sprint 08 SDK

      Description

      This is the same issue as TIMODOPEN-228 but for Ti.Blob (core).

      On iOS, all images created by Ti.Blob.imageAsResized are of type png (mime-type "image/png") instead of jpeg.

      As a result resized images are much bigger (in terms of bytes) than what they're supposed to be had they been jpegs.

      This seems to be related to the handling of alpha channel, according to TIMODOPEN-228

      It works fine on android (Ti.Blob.imageAsResized returns jpegs).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                lulu Cedric Paternotte
                Reviewer:
                Pedro Enrique (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-17487
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code