Hello,
Sort of new to ImageMagicK but loving the funcitonality of it for my needs.
Here is my problem I have a multipage PDF and some of the pages need to be rotated but not all of them.
Is there a way to do this with ImageMagicK that isn't spliting the document up or rotating all the pages?
Thanks
Rotating only 1 page in a multipage PDF
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Rotating only 1 page in a multipage PDF
not that I am aware of. you would need to separate the first page, rotate it, then combine it back with all the other pages
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Rotating only 1 page in a multipage PDF
For an example of this see...
Frame by Frame modification
http://www.imagemagick.org/Usage/anim_mods/#frame_mod
Basically it is as fred said. extrart (clone) the frame, modify it and replace the original frame with the modified one.
WARNING: IM is not designed for vector graphic images!!! it will convert your PDF files into a PDF of raster images with a specific 'ideal' resolution.
See... A word about Vector Image formats
http://www.imagemagick.org/Usage/formats/#vector
Frame by Frame modification
http://www.imagemagick.org/Usage/anim_mods/#frame_mod
Basically it is as fred said. extrart (clone) the frame, modify it and replace the original frame with the modified one.
WARNING: IM is not designed for vector graphic images!!! it will convert your PDF files into a PDF of raster images with a specific 'ideal' resolution.
See... A word about Vector Image formats
http://www.imagemagick.org/Usage/formats/#vector
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/