Include color information : imagepng « Graphics Image « PHP






Include color information

 
<?php
    $image = imagecreate(400,300);
    $gold = imagecolorallocate($image, 255, 240, 00);
    imagepng($image);
    imagedestroy($image);
?>
  
  








Related examples in the same category

1.Working with PNGs