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 04:00:27 +0900
Thank you Chuck,
I'm now checking "IconFamily" source code.
I found a silly mistake in my code:
colorSpaceName:@"NSCalibratedWhiteColorSpace"
This should be:
colorSpaceName:NSCalibratedWhiteColorSpace
I have fixed that mistake but the result was not changed.
I also tested to change drawing method of source image, such as
"compositeToPoint" or "dissolveToPoint", but nothing was changed in the
output image.
On Dec 23, 2004, at 3:17 AM, Chuck Soper wrote:
Hello,
I don't know the answer to your question, but you might want to look
at the IconFamily source written by Troy Stephens and others:
<http://homepage.mac.com/troy_stephens/software/objects/IconFamily/>
Find the link to "IconFamily-0.5.1.tgz" for the source.
I'm working on a somewhat related problem, scaling an NSImage then
creating an NSBitmapImageRep.
--
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