• 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: loading images from external disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loading images from external disk


  • Subject: Re: loading images from external disk
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 30 Oct 2009 12:54:55 -0700


On Oct 30, 2009, at 11:38 AM, Gabriel Zachmann wrote:

Now, one user has reported that, occasionally, CGImageSourceCreateWithURL() fails -- I can tell from the log I received.

I have never seen a case where -fileURLWithPath has failed.

Maybe the file doesn't contain valid image data. The docs don't say what happens in this case, but it looks like most of the functions on a CGImageSource assume that the image has already been parsed, so if it can't be parsed I would guess it has to fail.


Get someone to send you one of the files in question, and see if you can open it with your app or with Preview.

—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


References: 
 >loading images from external disk (From: Gabriel Zachmann <email@hidden>)

  • Prev by Date: Re: Core Data not fulfill a fault (now: observer) after Save As
  • Next by Date: Re: Scripting Bridge running method passing an array
  • Previous by thread: loading images from external disk
  • Next by thread: Inconsistency in handling of slashes and colons (bug in componentsJoinedByString ?)
  • Index(es):
    • Date
    • Thread