Display image without saving ( Anthony 14/6/2008 )

This uses Imagick to resize an image and display it without saving it.

Imagick code:

<?php 
header
("Content-type: image/jpeg");
$image = new Imagick("input.jpg");
$image->thumbnailImage(1000);
echo 
$image;
?>