Gold Vision Communications / USA
 GOLDVISION.COM
Serving the Multimedia Community since 1989.
German Site | Spanish Site 

 Web Hosting

 Virtual Dedicated Servers

 Domaincheck

 Order

 Order Status

 Support

 Contact us

 Download

 Network

 Network Status

 Webdesign / Templates

 Make Payment

 Terms & Conditions

 Imprint

 Legal Notices

 Privacy Statement
  PHP / ImagePNG
ImagePNG

ImagePNG

(PHP 3>= 3.0.13, PHP 4 >= 4.0.0)

ImagePNG --  Output a PNG image to either the browser or a file

Description

int imagepng ( int im [, string filename])

The ImagePNG() outputs a GD image stream (im) in PNG format to standard output (usually the browser) or, if a filename is given by the filename it outputs the image to the file.

<?php
$im = ImageCreateFromPng("test.png");
ImagePng($im);
?>

See also ImageGIF(), ImageWBMP(), ImageJPEG(), ImageTypes().


© 1998-2007 Gold Vision Communications All Rights Reserved.