Basic image script : imagejpeg « Graphics Image « PHP






Basic image script

 
<?php

    $image = imagecreate(400,300);
    // do stuff to the image
    imagejpeg($image, '', 75);
    imagedestroy($image);
?>
  
  








Related examples in the same category

1.Loading an Existing Image
2.Working with JPGs