Extracted from Pike v7.6 release 33 at 2005-08-19.
pike.ida.liu.se
[Top]
Image

Method Image.load_layers()


Method load_layers

array(Image.Layer) Image.load_layers(void|object|string file, mixed|void opts)

Description

Helper function to load all image layers from a file. If no filename is given, Stdio.stdin is used. The loaded file is decoded with decode_layers. Extra arguments to the image types layer decoder, e.g. for XCF files, can be given in the opts mapping.