[Command Line convert] Multipage TIFF -> one JPG
Posted: 2011-11-30T06:07:07-07:00
Hi,
I'm using the command line processing command "convert" to generate some thumbnails (in *.jpg) from images of any formats (png, bmp, pdf, tiff, psd...);
I complain a problem for those images in multi-level or multi-page as the TIFF: in this case ImageMagick generates one file per page (naming <file-name>-1.jpg, <file-name>-2.jpg, ...)
I'd ask you how I can get the thumbnails of oly the first page (or merge of layers):
> convert img.tif -strip -thumbnail "200x200" -quality 90 -???? ??? img.jpg
(and I'd like to use always the same call for all image format)
tks
I'm using the command line processing command "convert" to generate some thumbnails (in *.jpg) from images of any formats (png, bmp, pdf, tiff, psd...);
I complain a problem for those images in multi-level or multi-page as the TIFF: in this case ImageMagick generates one file per page (naming <file-name>-1.jpg, <file-name>-2.jpg, ...)
I'd ask you how I can get the thumbnails of oly the first page (or merge of layers):
> convert img.tif -strip -thumbnail "200x200" -quality 90 -???? ??? img.jpg
(and I'd like to use always the same call for all image format)
tks