Colorize a greyscale thumbnail to be orange
Posted: 2008-06-20T04:23:06-07:00
I tried Google and the forum search, but found no solution for this particular challenge:
How to transform a picture's thumbnail like this: http://weilguny.net/im/thumbnail.png
into a thumbnail like this: http://weilguny.net/im/thumbnail_over.png
The last one is used if the mouse hovers over the standard thumbnail.
My photographer created this effect using Duplex-Mode in Photoshop. In PHP I realized it by adding 137 to the green channel and 55 to the blue channel - and red being (red+green+blue)/3.
As I don't want to use the PHP image-function for a picture-gallery-manager anymore, I need the Imagemagick commands for this transformation.
Thanks for your advices and hints!
Cheers, Clownfish
How to transform a picture's thumbnail like this: http://weilguny.net/im/thumbnail.png
into a thumbnail like this: http://weilguny.net/im/thumbnail_over.png
The last one is used if the mouse hovers over the standard thumbnail.
My photographer created this effect using Duplex-Mode in Photoshop. In PHP I realized it by adding 137 to the green channel and 55 to the blue channel - and red being (red+green+blue)/3.
As I don't want to use the PHP image-function for a picture-gallery-manager anymore, I need the Imagemagick commands for this transformation.
Thanks for your advices and hints!
Cheers, Clownfish