Page 1 of 1

Add jpeg image to existing tiff file

Posted: 2016-02-15T07:03:54-07:00
by kp1989singh
Hi all
i want to add more image i existing tiff file..

convert *.jpg -compress JPEG multitframe.tif

after this i want to add some more jpeg image in multiframe.tif

convert image1.jpg -compress JPEG multitframe.tif - existing tiff

how to do this please help...

Thanks & Regards
KP Singh

Re: Add jpeg image to existing tiff file

Posted: 2016-02-15T07:14:16-07:00
by snibgo
ImageMagick works with lists of images. So create a list of all the images you want in you output file, including any images already in that file. Finally, put the output name. IM will re-create that file with all the images. Like this:

Code: Select all

convert multiframe.tif *.jpg -compress JPEG multiframe.tif
However, this will re-compress any images already in multiframe.tif. Multiple JPEG recompression is usually bad for quality.

Unix tools like tiffcp may also be useful.