Creating an Image from an Existing Image : imagecreatefromjpeg « Graphics Image « PHP






Creating an Image from an Existing Image

 
Loading an Existing Image 
<?php 

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








Related examples in the same category

1.Saving and Outputting the Modified Image