Search found 2 matches

by indelam
2011-01-11T15:13:42-07:00
Forum: IMagick
Topic: Imagick class
Replies: 3
Views: 12131

Re: Imagick class

Dulfer wrote:<?php
system ('php -m', $r);
var_dump($r);
?>
??
This gives me int(255)

I need this to create a thumbnail of pdf's first page i see Imagick is the only solution...
by indelam
2011-01-11T05:51:29-07:00
Forum: IMagick
Topic: Imagick class
Replies: 3
Views: 12131

Imagick class

Imagic is installed on my website I'm unable to run this simple code
<?php
$images = new Imagick(glob('*.JPG'));
foreach($images as $image) {
// Providing 0 forces thumbnailImage to maintain aspect ratio
$image->thumbnailImage(1024,0);
}
$images->writeImages();
?>

it says "Fatal error: Class ...