Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $inFile = "test.jpg";
- $outFile = "test-thumbnail.jpg";
- $image = new Imagick($inFile);
- $image->thumbnailImage(400, 400);
- $image->writeImage($outFile);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement