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.12 2000/02/03 19:01:29 grubba Exp $"); + RCSID("$Id: xcf.c,v 1.13 2000/02/08 03:39:19 per 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:838:    }       pop_n_elems(args);    /* fprintf(stderr, "%d bytes of source data used out of %d bytes\n" */    /* "%d bytes decoded data generated\n", */    /* t->len-s.len,t->len,od.len); */    push_string(make_shared_binary_string((char *)od.str,od.len));    free(od.str);   }    + /* + **! method array(object) decode_layers( string data ) + **! 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 + */      /*   **! 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   */   
pike.git/src/modules/Image/encodings/xcf.c:1313:   #undef STRING   }         void exit_image_xcf()   {   #define STRING(X) free_string(s_##X)   #include "xcf_constant_strings.h"   #undef STRING   } -  +