• 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: Getting image info without loading entire image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting image info without loading entire image


  • Subject: Re: Getting image info without loading entire image
  • From: Ryan Britton <email@hidden>
  • Date: Fri, 19 Jan 2007 15:06:39 -0800

Have you looked at CGImageSource?

http://developer.apple.com/documentation/GraphicsImaging/Reference/ CGImageSource/Reference/reference.html


On Jan 18, 2007, at 10:15 AM, Ken Tozier wrote:

Hi

I wrote a folder scanner that gathers various info on contained files and need a way to get the color model, width and height for storage in a database. I can do that by using NSImage initWithContentsOfFile but it really slows down the scan when thousands of images are involved. Is there a Cocoa way to get this info without completely loading every image into memory?'

Thanks for any help

Ken
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: Getting image info without loading entire image
      • From: Ken Tozier <email@hidden>
References: 
 >Getting image info without loading entire image (From: Ken Tozier <email@hidden>)

  • Prev by Date: alternating row background color and custom row height bug?
  • Next by Date: Re: Getting image info without loading entire image
  • Previous by thread: Getting image info without loading entire image
  • Next by thread: Re: Getting image info without loading entire image
  • Index(es):
    • Date
    • Thread