Bug 2177 - PNG Recompression
Summary: PNG Recompression
Status: RESOLVED DUPLICATE of bug 1587
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: unspecified
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: ---
Assignee: Alan McGovern
Depends on:
Reported: 2011-11-23 14:48 UTC by Ethan Chang
Modified: 2012-01-20 11:47 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Ethan Chang 2011-11-23 14:48:31 UTC
Kenny Goers feature request

Good catch, for those on the cc here, the issue is that we re-compress png files _every_ time we build for the device on MT. The fix here is to not use the Optimize iOS Package batch itself and instead, make the individual calls to compress, etc. ourselves.
Comment 1 Mikayla Hutchinson [MSFT] 2011-11-23 15:05:42 UTC
Currently after we finish compiling a device build, we pass it to Apple's iphoneos-optimize tool. This finds all the pngs in the app and calls pngcrush to optimize them for the device, and finds all plists and converts them to binary.

What we need to to is to perform these tasks directly when copying the resource into the app bundle - call pngcrush and plutil directly. For the merged plist we could write it directly as binary.

This will probably happen after we migrate the build to xbuild, since that makes dependency tracking much easier.
Comment 2 Mikayla Hutchinson [MSFT] 2012-01-20 11:47:57 UTC

*** This bug has been marked as a duplicate of bug 1587 ***