Page 1 of 1
convert to Tiff has Grayscale not RGB why?
Posted: 2008-07-25T00:09:15-07:00
by forenhopper
Hi,
i use this command:
convert.exe -compress LZW -depth 8 -colorspace RGB -format tiff 1.jpg 1.tiff
The Problem is that this command gives me a tiff with grayscale colors. But i need RGB. If -colorspace is CMYK the result is CMYK. But RGB does not work.
I can not use the grayscale File because the Programm where it must be load can not read it. If i change in Photoshop to RGB evertything is fine.
Re: convert to Tiff has Grayscale not RGB why?
Posted: 2008-07-25T00:25:42-07:00
by forenhopper
Ok CMYK does not work everywhere:
montage.exe -background #FFFFFF -colorspace CMYK -format tiff -depth 8 -compress LZW -geometry +4+4 1.jpg 2.jpg 1.tiff
Without CMYK i get my grayscale tiff. With -colorspace CMYK i get an empty Image with the size of 1.jpg.
If i motage first and then use convert.exe i get my CMYK image...
Re: convert to Tiff has Grayscale not RGB why?
Posted: 2008-07-25T00:28:01-07:00
by fmw42
read
http://www.imagemagick.org/Usage/formats/#tiff about tiff format and limitations and format types
convert syntax usually has the input image right after convert, e.g.
convert.exe <input> .... <output>
-format tiff is probably not needed as it is typically used for mogrify syntax and not convert syntax with respect to the output format.
Try
convert.exe 1.jpg -compress LZW -depth 8 1.tiff
You might want to post an example of 1.jpg. Are you sure it is true color and not grayscale.
Re: convert to Tiff has Grayscale not RGB why?
Posted: 2008-07-25T00:37:58-07:00
by forenhopper
@fmw42
thx for fast reply.
They are grayscale but i want to tranform to RGB.
Re: convert to Tiff has Grayscale not RGB why?
Posted: 2008-07-25T00:41:58-07:00
by forenhopper
ok thx for the Link above. -type TrueColor solved my Problem.