NSImage -> 1-bit NSBitmapImageRep
NSImage -> 1-bit NSBitmapImageRep
- Subject: NSImage -> 1-bit NSBitmapImageRep
- From: Sanford Selznick <email@hidden>
- Date: Tue, 8 Feb 2005 22:29:21 -0700
I've got an NSImage with black and white data in it. I'd like to
copy the black and white contents to a 1-bit-per-pixel
NSBitmapImageRep.
What's the best way to do this?
I need 1-bit-per-pixel data, rowbytes and a rect so I can pass them
into a library.
I've searched the archives and only found solutions for
NSBitmapImageRep -> NSImage, but I need the other direction.
I've done this with GWorlds and QuickDraw, but I need a Cocoa solution.
Thank you,
Sanford
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden