Navigation :

Home
Source code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links




Site Sponsors :

Bookmark :

Links :

domain names
golfing products
programmershelp

Downloads :

Misc :

Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!




create a png

This example shows how to create a basic png

<html>
<body>
<?php
$img = imagecreate(400,200);
$red = imagecolorallocate($img,255,0,0);
Imagerectangle($img,50,50,150,150,$red);
ImagePNG($img,"pic.png");
ImageDestroy($img);
?>
<img src="pic.png" />
</body>
</html>