Code: Select all
convert -resize 200x200 myfile.pdf[0-10] thumb-%05d.png
is there a way to pass on (to gs i guess) what the page size of the 'printer' is ? In my case i would like to see the thumbs as if the pdf was printed on a A4 portrait page. (210x297mm). (that would lead to thumbs that are 141x200pixels)
So if the pdf would have a bigger page size, it would be scaled to 'best fit' on the A4 page.
(and as an extra, if possible, to have landscape pages rotated to portrait ones, but if this is not possible in one go, i ll do it later in the code)
thanks for your ideas!