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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]