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/
Help trying to achieve correct type of image tint
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Help trying to achieve correct type of image tint
I have created a new script, tintilize, to achieve this effect.
See http://www.fmwconcepts.com/imagemagick/index.html
See http://www.fmwconcepts.com/imagemagick/index.html