| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Image

# Method Image.load_layers()

Method load_layers

  `array(Image.Layer) 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.