• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xcode4.5's version of pngcrush making images larger!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode4.5's version of pngcrush making images larger!


  • Subject: Xcode4.5's version of pngcrush making images larger!
  • From: David Hoerl <email@hidden>
  • Date: Mon, 01 Oct 2012 12:08:51 -0400

It turns out that when you enable the Xcode 'Crush PNG Files', it actually expands them! Virtually every file in my app bundle got larger.

'pngcrush' is included in Xcode.app, and by fussing around I was able to see it get called with a '-iphone' option (it's only run for iOS builds).

So the way to reduce your image sizes now is to disable that checkbox!

I can only assume that 'pngcrush -iphone' does some png formatting to make the images load faster, not to crush them to as small a file as possible. Or, is this bug?

David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Xcode4.5's version of pngcrush making images larger!
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: Re: Custom Target in Xcode?
  • Next by Date: Typing a : puts [] around stuff
  • Previous by thread: Re: Custom Target in Xcode?
  • Next by thread: Re: Xcode4.5's version of pngcrush making images larger!
  • Index(es):
    • Date
    • Thread