?php $im = imagecreatefrompng ("test.png"); imagepng ($im);?
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.