Page 1 of 1
Convert Raw file using different Colormaps
Posted: 2009-03-21T09:11:58-07:00
by meshuggahbobo
Hi all!! First post ever
Sorry for my bad english
I have a raw file, contening some images, and i want to convert it to jpg:
Code: Select all
convert -quality 100 -depth 16 -size 256x256 -channel gray:in.raw out.jpg
ok no problem! But if I want to use a different colormap instead of using the gray colormap
(for example a hot red colormap, hsv colormap...) what i have to specify???
Tnks in advance for the help!!!!!!!
Re: Convert Raw file using different Colormaps
Posted: 2009-03-21T09:43:50-07:00
by fmw42
meshuggahbobo wrote:Hi all!! First post ever
Sorry for my bad english
I have a raw file, contening some images, and i want to convert it to jpg:
Code: Select all
convert -quality 100 -depth 16 -size 256x256 -channel gray:in.raw out.jpg
ok no problem! But if I want to use a different colormap instead of using the gray colormap
(for example a hot red colormap, hsv colormap...) what i have to specify???
Tnks in advance for the help!!!!!!!
I presume you want to color a grayscale image. If so, see -clut at
http://www.imagemagick.org/script/comma ... s.php#clut
http://www.imagemagick.org/Usage/color/#color_lut
Also I have some unix scripts, pseudocolor and mapcolors that might help. See
http://www.fmwconcepts.com/imagemagick/index.html
Re: Convert Raw file using different Colormaps
Posted: 2009-03-22T12:37:56-07:00
by meshuggahbobo
Man you're my salvation!!!
Thanks a lot...
And beautiful scripts!!!
One question : HISTOG script works fine with grayscale images??
Re: Convert Raw file using different Colormaps
Posted: 2009-03-22T14:47:58-07:00
by fmw42
meshuggahbobo wrote:Man you're my salvation!!!
Thanks a lot...
And beautiful scripts!!!
One question : HISTOG script works fine with grayscale images??
I am not sure I know what you are asking about the HISTOG script? With grayscale images, it may still make 3 histograms (red, green, blue), but they will all be the same histogram. Are you asking something else?