array(object) decode_layers(object stringdata) array(object) decode_layers(object stringdata, object mappingoptions)
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 ,