Re: ImageIO errors generating UIImage from NSData from NSImage
Re: ImageIO errors generating UIImage from NSData from NSImage
- Subject: Re: ImageIO errors generating UIImage from NSData from NSImage
- From: Jens Alfke <email@hidden>
- Date: Wed, 09 Jul 2014 13:29:47 -0700
On Jul 9, 2014, at 11:13 AM, Carl Hoefs <email@hidden> wrote:
> -imageWithData: generates odd messages and returns NULL.
> <Error>: ImageIO: PNG PNG unsigned integer out of range
> <Error>: ImageIO: PNG [00][00][00][00]: invalid chunk type
I don’t think this is an image decoding issue. I think the problem is that your data is getting mangled coming over the wire. Especially since you were reporting problems with the network I/O earlier.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden