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.8 1997/05/05 20:59:05 hubbe Exp $ + $Id: togif.c,v 1.9 1997/05/05 21:35:06 mirar Exp $      */      /*   **! module Image   **! class image   */      #include "global.h"   
pike.git/src/modules/Image/togif.c:455:   /*   **! method object fromgif(string gif)   **! Reads GIF data to the called image object.   **!   **! GIF animation delay or loops are ignored,   **! and the resulting image is the written result.   **! returns the called object   **! arg string pnm   **! pnm data, as a string   **! see also: togif, frompnm - **! known bugs: yes, it does -- it may even do segment overrides... + **! bugs + **! yes, it does -- it may even do segment overrides...   */      void image_fromgif(INT32 args)   {    if (sp[-args].type!=T_STRING)    error("Illegal argument to image->fromgif()\n");       if (THIS->img) free(THIS->img);    THIS->img=NULL;