initWithBitmapDataPlanes + colorspace
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.