pike.git / src / modules / Image / togif.c

version» Context lines:

pike.git/src/modules/Image/togif.c:1:   /*      togif      Pontus Hagland, law@infovav.se    - $Id: togif.c,v 1.7 1997/04/30 01:46:54 mirar Exp $ + $Id: togif.c,v 1.8 1997/05/05 20:59:05 hubbe Exp $      */      /*   **! module Image   **! class image   */      #include "global.h"   
pike.git/src/modules/Image/togif.c:891:   **! <pre>   **! object img1 = Image(200,200);   **! object img2 = Image(200,200);   **! // load img1 and img2 with stuff   **! write(img1->gif_begin()+   **! img1->gif_netscape_loop()+   **! img1->gif_add(0,0,100)+   **! img2->gif_add(0,0,100)+   **! img1->gif_end());   **! // voila, a gif animation... + **! </pre>   **!   **! note   **! I (Mirar) recommend reading about the GIF file format before   **! experementing with these.   **! returns the GIF data chunk as a string   **!   **! arg int x   **! arg int y   **! the location of this subimage   **! arg int delay_cs