Re: NSBitmapImageRep and a NSColorSpace
Re: NSBitmapImageRep and a NSColorSpace
- Subject: Re: NSBitmapImageRep and a NSColorSpace
- From: Troy Stephens <email@hidden>
- Date: Fri, 15 Jul 2005 16:21:10 -0700
On Jul 14, 2005, at 4:31 PM, Samuel DeVore wrote:
If I am creating a NSBitmapImageRep and I am initing it with
colorSpaceName:NSCustomColorSpace how do I get the imageRep to
make use of a NSColorSpace that I have loaded from an ICC profile?
You can set an NSBitmapImageRep instance to be interpreted using a
different color profile by setting its NSImageColorSyncProfileData
property:
[theBitmapImageRep setProperty:NSImageColorSyncProfileData
withValue:[theColorSpace ICCProfileData]];
--
Troy Stephens
Cocoa Frameworks
Apple Computer, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden