note 111197 added to class.imagick

From: Date: Thu, 24 Jan 2013 19:52:51 +0000
Subject: note 111197 added to class.imagick
Groups: php.notes 
Request: Send a blank email to php-notes+get-193378@lists.php.net to get a copy of this message
When using this library with PDFs, the term "image" applies to a page where the pointer begins at the last page of the document. <?php $document = new Imagick('myPdf.pdf'); //2 page PDF $document->getNumberImages(); //returns 2 var_dump($document->hasNextImage()); //returns false - remember, we're on the last page var_dump($document->hasPreviousImage()); //returns true ?> If you need to do more than generate thumbnails from a PDF, use XPDF: http://www.foolabs.com/xpdf/home.html ---- Server IP: 69.147.83.199 Probable Submitter: 74.143.144.100 ---- Manual Page -- http://php.net/manual/en/class.imagick.php Edit -- https://master.php.net/note/edit/111197 Del: integrated -- https://master.php.net/note/delete/111197/integrated Del: useless -- https://master.php.net/note/delete/111197/useless Del: bad code -- https://master.php.net/note/delete/111197/bad+code Del: spam -- https://master.php.net/note/delete/111197/spam Del: non-english -- https://master.php.net/note/delete/111197/non-english Del: in docs -- https://master.php.net/note/delete/111197/in+docs Del: other reasons-- https://master.php.net/note/delete/111197 Reject -- https://master.php.net/note/reject/111197 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193378) next »