Pike v8.1 release 6

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.