• 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
Re: CopyPNGFile apparently garbles PNGs in iPhone build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CopyPNGFile apparently garbles PNGs in iPhone build


  • Subject: Re: CopyPNGFile apparently garbles PNGs in iPhone build
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 11 Aug 2009 22:38:18 -0700


On Aug 11, 2009, at 6:49 PM, Fritz Anderson wrote:

Is this an Xcode problem, or is there some chicken-waving I haven't done in Photoshop? Any ideas on how to work around it?

CopyPNGFile runs pngcrush, a compression function. The result, even though it has a .png extension, is not a valid .png file. The CoreImage classes on the device know how to deal with it.


So any tool that tries to treat the .png file post-processing by pngcrush will not be reliable.

You never said whether there was an actual problem with the file other than the questionable results from the metrics, which are well- explained by the above. Does the device display it properly?

Chris
_______________________________________________
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


References: 
 >CopyPNGFile apparently garbles PNGs in iPhone build (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: CopyPNGFile apparently garbles PNGs in iPhone build
  • Next by Date: Coaxing pbxcp into Preserving Symbolic Links
  • Previous by thread: CopyPNGFile apparently garbles PNGs in iPhone build
  • Next by thread: Re: CopyPNGFile apparently garbles PNGs in iPhone build
  • Index(es):
    • Date
    • Thread