Page 1 of 1

Using -write to output to multiple files

Posted: 2016-11-21T00:58:45-07:00
by fuji
I'm trying to convert a multiframe tiff file into single file pngs and also create thumbnails at the same time.

Code: Select all

convert +adjoin  image.tif -write  image%0d.png -thumbnail 1000 thumb%0d.png
With this code i get a thumbnail for each of the frames but I only get the first frame for the converted file.

How can i make -write output all frames?

Re: Using -write to output to multiple files

Posted: 2016-11-21T02:12:46-07:00
by snibgo
Your "+adjoin" is redundant.

Your command works fine for me, with IM v6.9.5-3 on Windows 8.1. When the tiff file contains two images, it creates two files image*.png and two files thumb*.png.