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: Carl Hoefs <email@hidden>
- Date: Wed, 09 Jul 2014 13:32:14 -0700
On Jul 9, 2014, at 1:29 PM, Jens Alfke <email@hidden> wrote:
>
> 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
Agreed. I'm now in the process of verifying checksums on both sides… Might have to resort to sending Base64 strings...
-Carl
_______________________________________________
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