• 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: NSImage Info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage Info


  • Subject: Re: NSImage Info
  • From: Heinrich Giesen <email@hidden>
  • Date: Mon, 11 Jun 2007 20:36:08 +0200

hello,

On 11.06.2007, at 17:57, Barry wrote:

Hi

How do I access the original image data within NSImage ?
I need to determine whether the image was stored using L*a*b* units or RGB &
if RGB whether sRGB, Apple RGB, Wide Gamut RGB et. al.
Then I need access to the raw data.


Where is the source code for NSImage so I can see what it does to the raw
image ?


Thanks

First of all: forget NSImage! NSImage is one of the most misunderstood classes.
The real job is done by NSImageRep; NSImage only collects what NSImageRep did
and wraps it into an NSArray. But for what you want to do (color separation ?)
NSImageRep is not well suited. I would try to use the IOKit which gives you
more information and filters and ...
Another way could be to directly use the libraries libjpeg and libpng. These
offer you full access to the raw imagedata, they are free, well tested and
work an any computer platform and you "can see what is does to the raw image".


Heinrich Giesen




-- Heinrich Giesen 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


  • Prev by Date: Re: Localizing validation error strings with Core Data
  • Next by Date: Adding a hidden coredata layer in a cocoa framework ?
  • Previous by thread: Re: NSImage Info
  • Next by thread: WebKit or something else?
  • Index(es):
    • Date
    • Thread