6.5. Png

[<<<] [>>>]

String = gd::Png(Image)

This function can be used retrieve the binary, png format of the picture. The return value is a string that contains the entire png file. You may need this function to output the picture to the standard output from a CGI program. Do not forget to call binmode output to set the output to binary mode after the CGI header has been sent.


[<<<] [>>>]