Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: one plus four?
(Example: nine)

The Note You're Voting On

octave at web dot de
16 years ago
When using the "fit = true" option, the image will only scale down, but never scale up:

<?php
$im
= new Imagick('1600x1200.jpg');

$im->scaleImage(2000, 1500, true); // => 1600x1200

$im->scaleImage(1000, 500, true); // => 666x500
?>

<< Back to user notes page

To Top