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.
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.