Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

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.