Re: How to convert an image?
Re: How to convert an image?
- Subject: Re: How to convert an image?
- From: Nat! <email@hidden>
- Date: Sun, 16 Sep 2001 23:21:51 +0200
Am Sonntag den, 16. September 2001, um 15:30, schrieb John C. Randolph:
On Sunday, September 16, 2001, at 04:32 AM, email@hidden wrote:
How to convert a 24 bit image into a 1 bit image with NSBitmapImageRep?
I've never tried this, but offhand I'd try creating a one-bit deep
imagerep, lockfocus on it, and tell the 24-bit image to composite
itself.
Except that lockFocus isn't implemented in NSBitmapImageRep...
The correct answer is (AFAIK, see my thread about "canonical image reps"
some weeks ago), that you have to do it by hand!
Nat!
P.S. Windows95 can do stuff like that for you :)