Speed up development with full-stack environments for every branch.

Learn More

How to adaptive resize image with imagick [PHP]

1209 Runs 4047 Views 1807 Copies


gtsolutions 373

published 4 years ago

 * PHP Imagick
 * adaptive resive an image

//sending image header to proper display the image
header('Content-type: image/jpeg');

//loading the image
$image = new Imagick('images/picture.jpg');

echo $image;

Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).