Re: access to the pixel data of an image?
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