• 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
initWithBitmapDataPlanes + colorspace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

initWithBitmapDataPlanes + colorspace


  • Subject: initWithBitmapDataPlanes + colorspace
  • From: Mark Woollard <email@hidden>
  • Date: Tue, 20 Apr 2004 10:19:31 +0100

I'm trying to understand how colorspaces work. I want to be able to create an NSBitmapImageRep instance with a data plane that contains color value indexes rather than RGB values. The docs suggest to me that a custom color space is the way to go but I've not managed to figure out how to create or use such a space. Say I have a table of 256 RGB values for an 8bit resolution image, how do I go about setting things up so it can be used to init an NSBitmapImageRep instance with the intWithBitmapDataPlanes selector so that I can then render the image to screen?

Thanks
Mark
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: why is quartz still interpolating ??
  • Next by Date: Re: [little OT] Licensing/Implementing in Cocoa/Obj-C
  • Previous by thread: Re: Question Applescript - Cocoa Double click on divider of NSsplitview
  • Next by thread: Why the warnings or errors?
  • Index(es):
    • Date
    • Thread