| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Image
Image.XCF

# Method Image.XCF.decode_layers()

Method decode_layers

  `array(object) decode_layers(object stringdata)`
  `array(object) decode_layers(object stringdata, object mappingoptions)`

Description

  Decodes a XCF image to an array of Image.Layer objects

  The layer object have the following extra variables (to be queried using get_misc_value):

  image_xres, image_yres, image_colormap, image_guides, image_parasites, name, parasites, visible, active

  Takes the same argument mapping as _decode ,