Xcode compress png files option




















Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled. Accept all cookies Customize settings. Posted by brutalityarts. Post marked as solved. Posted by futile. Posted by jerrychio. Anyone sent a bug report on this to Apple? Posted by crspybits.

Posted by Vilgan. Posted by antgly. I created the second image by compressing the first image with ImageOptim. After compression the image size was reduced from 1. The result of building the Xcode project and comparing the source and target file sizes was as follows:.

So the first uncompressed image file was reduced by about KB which is pretty poor compared to using ImageOptim. Even worse the second file that I had already compressed actually increased in size though it was still significantly less than the first image size.

Interestingly whilst the first file was not viewable indicating that it was now using the non-standard Apple PNG format the second file could be opened with Preview. In short it seems that you are better off disabling the Xcode PNG compression and compressing the files yourself using a tool like ImageOptim.

New Year Sale!



0コメント

  • 1000 / 1000