• 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: ImageIO errors generating UIImage from NSData from NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >ImageIO errors generating UIImage from NSData from NSImage (From: Carl Hoefs <email@hidden>)
 >Re: ImageIO errors generating UIImage from NSData from NSImage (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: ImageIO errors generating UIImage from NSData from NSImage
  • Next by Date: Re: From BCP-47 to Natural?
  • Previous by thread: Re: ImageIO errors generating UIImage from NSData from NSImage
  • Next by thread: View-based outline view problem
  • Index(es):
    • Date
    • Thread