| AND OR | string words | *

manual for imagepng | search for "imagepng"


imagepng

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

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

Description

bool imagepng ( resource image [, string filename])

The imagepng() outputs a GD image stream (image) 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().

Manual © 2001-2013 The PHP Group
© 2013 phparadise | go to the top | search phparadise | generated in 0.021 seconds

5 hits by 2 users in the last 30 minutes.