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
two output files when only one is needed
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: two output files when only one is needed
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
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
Thank you, it works very well!