Page 1 of 1

Re: Help trying to achieve correct type of image tint

Posted: 2009-02-17T12:35:42-07:00
by fmw42
There are several ways. Here are 3:


original grayscale image:
Image

Pick a tint color: see http://imagemagick.org/script/color.php

Method 1: use -tint and adjust the tint value
see http://www.imagemagick.org/script/comma ... s.php#tint

convert zelda3g.jpg -fill darkseagreen -tint 100 zelda3g_tint100.jpg
Image

Method 2: use -tint and -modulate for more control. Adjust tint value, lightness and saturation from -modulate
see http://www.imagemagick.org/script/comma ... p#modulate

convert zelda3g.jpg -fill darkseagreen -tint 100 -modulate 125,75,100 zelda3g_t100_m125x75x100.jpg
Image

Method 3: create a color gradient lookup table and apply with -clut
see http://www.imagemagick.org/script/comma ... s.php#clut
http://www.imagemagick.org/Usage/basics/#image_seq (parenthesis processing and line continuation)
if on windows, see http://www.imagemagick.org/Usage/api/#windows

convert \( -size 1x1 xc:black xc:darkseagreen xc:white +append \) \
-filter cubic -resize 256x1! -scale 256x20! tint_lut.png
Image

convert zelda3g.jpg tint_lut.png -clut zelda3g_tintlut.jpg
Image

reference: http://www.gimpguru.org/Tutorials/SampleToning/

Re: Help trying to achieve correct type of image tint

Posted: 2009-02-26T12:57:16-07:00
by fmw42
I have created a new script, tintilize, to achieve this effect.

See http://www.fmwconcepts.com/imagemagick/index.html