Code: Select all
$imagick = new Imagick();
$imagick->readImage('images/Champs-43.png');
$imagick->rotateImage(new ImagickPixel(), 45);
header('Content-Type: image/png');
echo $imagick->getImage();
can anyone offer any suggestions?
Code: Select all
$imagick = new Imagick();
$imagick->readImage('images/Champs-43.png');
$imagick->rotateImage(new ImagickPixel(), 45);
header('Content-Type: image/png');
echo $imagick->getImage();
$imagick->rotateImage(new ImagickPixel(), 45);
Code: Select all
<?php
$im = new Imagick($input);
$im->rotateImage( new ImagickPixel('none'), 45 );
$im->writeImage('rotateImage.png');
$im->destroy();
?>