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
How to modify a specific image from an multipage TIFF image
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How to modify a specific image from an multipage TIFF image
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.
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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/