{ "id": "103262", "key": "TIMOB-11441", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-10-13T19:54:34.000+0000", "created": "2012-10-12T22:43:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "triage" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-23T20:46:30.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Create a new Titanium mobile project in Studio.\r\nNote that the size of Default-Landscape.png file inside Resources/iPhone folder. Its 517kB.\r\nBuild the project in either simulator or device. Note the size of the generated image size. Its 544kB.\r\n\r\nIf the image size is around 1MB, the final image size is around 1.4MB which results in increase in size of ipa.\r\n\r\nScreenshots of image sizes are attached.", "attachment": [ { "id": "32582", "filename": "ImageSize_BeforeBuilding.png", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-12T22:43:00.000+0000", "size": 88927, "mimeType": "image/png" }, { "id": "32583", "filename": "ImageSize_in_ipaORapp .png", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-12T22:43:00.000+0000", "size": 175307, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Size of images placed inside Resources/iPhone folder increases by 30-40kb in the generated the ipa/app file", "creator": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 2.1.3 and iOS 5.1", "comment": { "comments": [ { "id": "223411", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is expected behavior. All png files in the built app dir are optimized for running on the actual device, specifically, the red and blue components are swapped and the alpha channel is pre-multiplied (whatever that means). The output is non-standard PNG image that is LARGER than the original.\r\n\r\nSee this article for more info: http://iphonedevelopment.blogspot.com/2008/10/iphone-optimized-pngs.html", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-13T19:54:35.000+0000", "updated": "2012-10-13T19:54:54.000+0000" }, { "id": "415366", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T20:46:30.000+0000", "updated": "2017-03-23T20:46:30.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }