pike.git / src / modules / Image / encodings / xcf.c

version» Context lines:

pike.git/src/modules/Image/encodings/xcf.c:1:   #include "global.h" - RCSID("$Id: xcf.c,v 1.36 2001/03/17 20:39:34 grubba Exp $"); + RCSID("$Id: xcf.c,v 1.37 2001/04/15 13:21:13 mirar Exp $");      #include "image_machine.h"      #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "module_support.h"   #include "interpret.h"   #include "object.h"   #include "svalue.h"
pike.git/src/modules/Image/encodings/xcf.c:925:    {    res = from->str[0];    from->str++;    from->len--;    }    return res;   }      /*   **! method array(object) decode_layers( string data ) + **! method array(object) decode_layers( string data, mapping options )   **! 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 <ref>_decode</ref>, + **! note especially "draw_all_layers":1.   */      /*   **! method object decode(string data)   **! Decodes a XCF image to a single image object.   **!   **! note   **! Throws upon error in data, you will loose quite a lot of   **! information by doing this. See Image.XCF._decode and Image.XCF.__decode   */