NSBitmapImageRep with indexed 8bit source data
NSBitmapImageRep with indexed 8bit source data
- Subject: NSBitmapImageRep with indexed 8bit source data
- From: Thomas Herzog <email@hidden>
- Date: Mon, 6 Jan 2003 15:36:13 +0100
I'm trying to implement a custom NSImageRep subclass to load and
display .cel image files, which come in multiple variants, from indexed
4-bit colors to 32-bit argb.. I've already successfully implemented
handling of 32-bit variants by using NSBitmapImageRep, but how can I
create an NSBitmapImageRep with indexed 8-bit source data? (raw 8-bit
image file & custom color palette) This was(/is) possible with Carbon
using GWorlds and palettes, but how can I load and draw this kind of
images in Cocoa? I'm lost...
Thanks in advance for any advice,
Thomas
_______________________________________________
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.