Load jpg image file : JPG Image « Graphics Image « PHP






Load jpg image file


<?php
$myImage = imagecreatefromjpeg('jpgFile.jpg');
header("Content-type: image/jpeg");
imagejpeg($myImage);
imagedestroy($myImage);
?>
           
       








Related examples in the same category

1.Paint on a jpg image file