Re: 1-bit NSBitmapImageRep?
Re: 1-bit NSBitmapImageRep?
- Subject: Re: 1-bit NSBitmapImageRep?
- From: Michael Vannorsdel <email@hidden>
- Date: Thu, 17 Apr 2008 00:30:03 -0600
I'm pretty sure you can do this, the only problem is the bytesPerRow
value. Since you need 8 bits to a byte your row size needs to be a
multiple of 8 (to make an even number of bytes). If this is undoable,
8bits per sample would be the next smallest and will definitely work.
On Apr 16, 2008, at 7:57 PM, Graham Cox wrote:
Is it possible to create a 1-bit (black and white) NSBitMapImageRep?
If so, what are the magic parameters? If not, what is the smallest
number of bits per pixel supported?
_______________________________________________
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