Re: .png images getting corrupted?
Re: .png images getting corrupted?
- Subject: Re: .png images getting corrupted?
- From: Jens Ayton <email@hidden>
- Date: Mon, 12 Apr 2010 20:58:24 +0200
On Apr 12, 2010, at 15:44, Patrick Mau wrote:
>
> Hi
>
> Just FYI I think that the utility used while copying resources on the iPhone platform is "pngcrush".
>
> It's located in
>
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush
>
> It tries to remove unnecessarry chunks and recompresses the image data.
> I would not use it unless you absolutely need to preserve space.
> Some programs cannot handle these stripped-down images.
That's somewhat misleading. The files created by the iPhone SDK version of pngcrush are not valid PNGs, although they do use the high-level structure of PNGs and misappropriate the PNG file header. Applications that don't open them aren't failing to handle them, they're correctly rejecting files that have been deliberately corrupted.
--
Jens Ayton
_______________________________________________
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