Re: Colorizing an image
Re: Colorizing an image
- Subject: Re: Colorizing an image
- From: Darrin Cardani <email@hidden>
- Date: Fri, 23 Apr 2004 09:31:29 -0500
At 8:17 PM -0700 4/22/04, Shaun Wexler <email@hidden> wrote:
I need to colorize some default NSButton checkbox images, ie convert
the aqua tinted pixels to an arbitrary hue, without affecting the
grays. Is there a recommended method to accomplish this on-the-fly?
Check out my MacHack paper "Adventures In HSV Space" available on our
website at:
<
http://www.buena.com/articles/hsvspace.pdf>
You'll probably need to draw your image into either a GWorld or some
equivalent, then apply the technique in the paper, then convert it
back to an NSImage, or something like that. Let me know if you have
any questions.
Thanks,
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<
http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.