Re: Help trying to achieve correct type of image tint
Posted: 2009-02-17T12:35:42-07:00
There are several ways. Here are 3:
original grayscale 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
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
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
convert zelda3g.jpg tint_lut.png -clut zelda3g_tintlut.jpg
reference: http://www.gimpguru.org/Tutorials/SampleToning/
original grayscale 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
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
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
convert zelda3g.jpg tint_lut.png -clut zelda3g_tintlut.jpg
reference: http://www.gimpguru.org/Tutorials/SampleToning/