Timothy Hunter on wrote... | I'm having trouble limiting the number of pages read from a PDF file. | I have a 20-page PDF file. When I use any of the following commands | "display" always reads all 20 pages. What am I doing wrong? | | display -scenes 1-1 test.pdf | display -scenes 0 test.pdf | display -scenes 1 test.pdf | The -scenes option does not limit the reading. It re-numbers the images that are in memory.
To read in a specific frame use... display test.pdf'[0]' & You can remotely flip the currently displayed scene using... display -remote test.pdf'[1]' Or a sequence of scenes with test.pdf'[4,5,6]' or test.pdf'[7-10]' See IM Examples, Reading images http://www.cit.gu.edu.au/~anthony/graphics/imagick6/files/#read Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- You could say its the Egyptian God of Frustration -- about Daffy Duck to an alien -- Babylon 5 "Hour of the Wolf" ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
