Page 1 of 1

two output files when only one is needed

Posted: 2011-08-25T08:18:48-07:00
by Xiarea
Hello,

I have sevral .tif files I try to convert to .png using IM 6.6.4-1 Q16 on windows and each time, I get two output files (a big one and a small one)

I've tried without any option I get the same result, I've also tried different file format for the output and can't figure out how to get a single outputfile having the right name :?

I sincerely hope someone can help?
Thanks in advence

Re: two output files when only one is needed

Posted: 2011-08-25T09:29:17-07:00
by fmw42
Your tiff has either two frames/pages or multiresolution images. To get the larger one, which I presume is the larger, use

convert image.tiff[0] ...

That gets the first frame/page/image. If you have other tiffs that only have one frame/page/image, the [0] will not hurt.


If it turns out to be the second image, which I doubt, then use

convert image.tiff[1] ...


see http://www.imagemagick.org/Usage/files/#read_mods

Re: two output files when only one is needed

Posted: 2011-08-26T00:36:50-07:00
by Xiarea
Thank you, it works very well!