downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Imagick::normalizeImage> <Imagick::newPseudoImage
[edit] Last updated: Fri, 17 May 2013

view this page in

Imagick::nextImage

(PECL imagick 2.0.0)

Imagick::nextImageMoves to the next image

Description

bool Imagick::nextImage ( void )

Associates the next image in the image list with an Imagick object.

Return Values

Returns TRUE on success.



add a note add a note User Contributed Notes Imagick::nextImage - [1 notes]
up
0
markus dot s dot schmitz at gmail dot com
5 months ago
Convert PDF to JPG page-wise:

<?php
$i
= 0;

$imagick = new Imagick();
$imagick->readImage('myfile.pdf');
while(
$imagick->hasNextImage()) {
   
$imagick->writeImage(++$i.'-converted.jpg', false);
   
$imagick->nextImage();
}
?>

See also: http://php.net/manual/en/imagick.readimage.php

 
show source | credits | stats | sitemap | contact | advertising | mirror sites