• 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: NSBitmapImageRep and a NSColorSpace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >NSBitmapImageRep and a NSColorSpace (From: Samuel DeVore <email@hidden>)

  • Prev by Date: NSTextView and FormFeeds
  • Next by Date: Bindings crash - _NSKeyValueObservationInfoCreateByRemoving calls CFRetain(NULL)
  • Previous by thread: NSBitmapImageRep and a NSColorSpace
  • Next by thread: Sync Framework and overriding Conflict Resolution Dialog
  • Index(es):
    • Date
    • Thread