Hi guys...I'm just figuring out ImageMagick. This is what I'd like to do.
I'd like to take a photo and apply the following spectrum to it:
I greatly appreciate any help on how to do this!
Newbie question - modify photo colour using this scale
Newbie question - modify photo colour using this scale
Last edited by drmarie on 2011-02-14T06:23:19-07:00, edited 1 time in total.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Newbie question - modify photo colour using this scale
You can apply such a lookup table spectrum image to an image (especially if graylevel) using -clut
convert image spectrum -clut result
see
http://www.imagemagick.org/Usage/color_mods/#clut
Note, that even though the page says the spectrum (lut) image is to be a single row or column, it will work with a larger image as it just takes the first row or column and uses that.
Also see my unix bash script, pseudocolor, at the link below.
convert image spectrum -clut result
see
http://www.imagemagick.org/Usage/color_mods/#clut
Note, that even though the page says the spectrum (lut) image is to be a single row or column, it will work with a larger image as it just takes the first row or column and uses that.
Also see my unix bash script, pseudocolor, at the link below.
Re: Newbie question - modify photo colour using this scale
[deleted] - I figured it out!
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Newbie question - modify photo colour using this scale
PLEASE do not delete. Other people would like to know what you have done.
If you can save the example image in some file service rather than delete that. That would be better still.
If you can save the example image in some file service rather than delete that. That would be better still.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/