TIF/PSD to JPEG conversion makes image white
Posted: 2014-06-17T01:08:06-07:00
Hi there,
I recently encountered a problem converting certain TIF and PSD files to JPEG. I could get single images right by manually adjusting the arguments, but I have to find a generic, software driven solution. I have no idea what is causing the issue, whether it's the parameters or the file, if it's the alpha channel or the compression and so on...
The input file:
https://www.dropbox.com/s/nzse4u7ttbarsmb/83_55991.tif (on my machine does only view in GIMP and IrfanView)
The result:
https://www.dropbox.com/s/gdgfr0owovu8w ... 5991_1.jpg
These are the commandline arguments:
Trying different parameter variations, I recognized the problem seems to only appear when the "-scale ..." parameter is being supplied. The IM versions I tried are 6.8.3 and 6.8.9.
If I span the command over two pass-throughs (one for conversion, one for resize) it almost works, seems a little dark though:
https://www.dropbox.com/s/5mhu1b7trt84s ... 5991_2.jpg
Your help is appreciated, thank you
I recently encountered a problem converting certain TIF and PSD files to JPEG. I could get single images right by manually adjusting the arguments, but I have to find a generic, software driven solution. I have no idea what is causing the issue, whether it's the parameters or the file, if it's the alpha channel or the compression and so on...
The input file:
https://www.dropbox.com/s/nzse4u7ttbarsmb/83_55991.tif (on my machine does only view in GIMP and IrfanView)
The result:
https://www.dropbox.com/s/gdgfr0owovu8w ... 5991_1.jpg
These are the commandline arguments:
Code: Select all
convert "D:\TFS6118\83_55991.tif" -limit thread 1 -strip -profile "USWebCoatedSWOP.icc" -scale 777x777! -density 300 -units pixelsperinch -profile "sRGB Color Space Profile.ICM" -strip "D:\TFS6118\83_55991_1.jpg
If I span the command over two pass-throughs (one for conversion, one for resize) it almost works, seems a little dark though:
https://www.dropbox.com/s/5mhu1b7trt84s ... 5991_2.jpg
Your help is appreciated, thank you
