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

Getting image info without loading entire image


  • Subject: Getting image info without loading entire image
  • From: Ken Tozier <email@hidden>
  • Date: Thu, 18 Jan 2007 13:15:54 -0500

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


  • Follow-Ups:
    • Re: Getting image info without loading entire image
      • From: Ryan Britton <email@hidden>
  • Prev by Date: Re: Data not written immediately to nstextview
  • Next by Date: Re: zip files
  • Previous by thread: Re: is printing tabular data really that annoying?
  • Next by thread: Re: Getting image info without loading entire image
  • Index(es):
    • Date
    • Thread