Pike v8.0 release 1738

Method Image.PNG.decode()


Method decode

Image.Image decode(string data)
Image.Image decode(string data, mapping(string:mixed) options)

Description

Decodes a PNG image. The options mapping is the as for _decode.

Throws

Throws upon error in data.