Re: Quick question: easy way to draw bitmap?
Re: Quick question: easy way to draw bitmap?
- Subject: Re: Quick question: easy way to draw bitmap?
- From: David Duncan <email@hidden>
- Date: Fri, 13 Jul 2007 11:02:58 -0700
On Jul 13, 2007, at 1:36 AM, Jeff Bland wrote:
Thanks. before I get the image to update I have to get it to work. I'm
having problems, apparently 16 bit RGB color (5 bits per component,
1 unused
bit) is not supported:
from NSBitmapImageRep:
"bps: The number of bits used to specify one pixel in a single
component of
the data. All components
are assumed to have the same bits per sample. bps should be one of
these
values: 1, 2, 4, 8, 12,
or 16."
I think this might be a bug in the documentation, but I haven't tried
it to be certain. Regardless, Quartz 2D does handle XRGB 1555 pixels
natively for both images and bitmap contexts.
--
David Duncan
Apple DTS Quartz and Printing
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden