Re: Creating black and white image
Re: Creating black and white image
- Subject: Re: Creating black and white image
- From: Osamu Shigematsu <email@hidden>
- Date: Thu, 23 Dec 2004 16:05:45 +0900
Thank you very much for your advice.
On Dec 23, 2004, at 5:19 AM, Clark Cox wrote:
Have you tried replacing
[dst lockFocus];
with:
[dst lockFocusOnRepresentation: rep];
I have tried, but noting changed.
I also checked samplePerPixel and bitsPerSample.
NSLog(@"spp: %d", [rep samplesPerPixel]);
NSLog(@"bps: %d", [rep bitsPerSample]);
The results were 1.
I wonder if why black and white (1 bit depth) bitmap representation
contains full color image.
--
Osamu Shigematsu
_______________________________________________
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