Page 1 of 1

Regarding issue with resample option using convert command

Posted: 2013-11-22T15:37:20-07:00
by papagi11
HI ,

I am trying the below TIF file to convert to JPG .

Copied the image below

https://docs.google.com/file/d/0B4IKFaN ... hPWFU/edit

command that I used :
convert /b/testDeer.tif -units pixelsperinch -resample 120 -profile /ImageMerchant/config/ICCProfiles/Recommended/USWebCoatedSWOP.icc /A/testDeer.jpg

I using the resample option to maintain the resolution . It is not converting properly , I see the image with white background after the conversion. I am not getting a good image .If i take out the resample option It is converting fine.

Could please any one help me to resolve this issue ?

Thanks,
Lavanya .

Re: Regarding issue with resample option using convert comma

Posted: 2013-11-22T16:27:09-07:00
by fmw42
Your file cannot be opened after downloading. It may be corrupt.

Also what version of IM and on what platform are you trying this.

Re: Regarding issue with resample option using convert comma

Posted: 2013-11-22T16:42:34-07:00
by snibgo
It opened fine for me.

The image has an alpha channel. Even though it is unassociated, IM uses it in the image. If you don't want this, use "-alpha off" after reading the file.