Page 1 of 1

Rotating only 1 page in a multipage PDF

Posted: 2009-11-20T13:20:30-07:00
by Awol
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

Re: Rotating only 1 page in a multipage PDF

Posted: 2009-11-20T16:21:31-07:00
by fmw42
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

Re: Rotating only 1 page in a multipage PDF

Posted: 2009-11-22T19:04:20-07:00
by anthony
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