• 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: access to the pixel data of an image?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: access to the pixel data of an image?


  • Subject: Re: access to the pixel data of an image?
  • From: Karsten <email@hidden>
  • Date: Thu, 6 Sep 2007 21:51:15 +0200

Hi Stefan,

you should try the NSBitmapImageRepresentation class, it should provide you this data.

Kind Regards
Karsten



Am 06.09.2007 um 21:44 schrieb Stefan Wolfrum:

hi all,

for my current Cocoa project (a pure 2D graphics app) I need to look at each and every pixel of a given image (mostly jpg and raw formats) because I have to know their color values (preferably in the HSV or HLS color space).

do you have a pointer for me what docs I should study, which classes might be helpful etc.?

is the Cocoa wrapper for quartz 2D adequate to use? or should I directly use Quartz 2D function calls?

I had a look at NSImage and CIImage so far but couldn't find any pixel data related functions such as "give me a 2D array of color values that representsteh whole image".

Excuse me if that's a dumb question, I'm still I newbie, unfortunately... :-(

Thank you so much,
Stefan.
_______________________________________________

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



_______________________________________________

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: 
 >access to the pixel data of an image? (From: Stefan Wolfrum <email@hidden>)

  • Prev by Date: access to the pixel data of an image?
  • Next by Date: Re: Weird crash
  • Previous by thread: access to the pixel data of an image?
  • Next by thread: Re: access to the pixel data of an image?
  • Index(es):
    • Date
    • Thread