Page 1 of 1

How to modify a specific image from an multipage TIFF image

Posted: 2007-11-09T05:47:22-07:00
by goodoldgames
Hello,

I have a multipage TIFF image consisting of three pages. I would like to rotate only page two and store all three pages into a new TIFF image.

Is their an easier way than the following one ?

convert --rotate 0 input.tif[0] --rotate 180 input.tif[1] --rotate 0 input.tif[2] output.tif

I don't want to specify all pages when the image has 100 pages and I only want to modify one page.

Bye

Claus

Re: How to modify a specific image from an multipage TIFF image

Posted: 2007-11-19T18:14:41-07:00
by anthony
Handling multiple image sequences is covered in IM examples under animations which is basically a multi-image sequence!!!

See Frame by Frame - modifying one frame at a time
http://imagemagick.org/Usage/anim_mods/#frame_mod

Specifically, read in the multi-image file, clone the image to be modified into parenthesis. modify it, then replace the original frame with the just modified version.