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.
convert to Tiff has Grayscale not RGB why?
Re: convert to Tiff has Grayscale not RGB why?
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...
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...
Last edited by forenhopper on 2008-07-25T00:32:21-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: convert to Tiff has Grayscale not RGB why?
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.
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?
@fmw42
thx for fast reply.
They are grayscale but i want to tranform to RGB.
thx for fast reply.
They are grayscale but i want to tranform to RGB.
Re: convert to Tiff has Grayscale not RGB why?
ok thx for the Link above. -type TrueColor solved my Problem.