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

version» Context lines:

pike.git/src/modules/Image/encodings/wbf.c:1:   #include "global.h"      #include <math.h>   #include <stdio.h>   #include <ctype.h>      #include "stralloc.h" - RCSID("$Id: wbf.c,v 1.10 2002/05/11 00:12:39 nilsson Exp $"); + RCSID("$Id: wbf.c,v 1.11 2002/07/30 11:25:30 nilsson Exp $");   #include "pike_macros.h"   #include "object.h"   #include "mapping.h"   #include "constants.h"   #include "interpret.h"   #include "operators.h"   #include "svalue.h"   #include "threads.h"   #include "array.h"   #include "pike_error.h"
pike.git/src/modules/Image/encodings/wbf.c:364:    is = i->img;    for( y = 0; y<i->ysize; y++ )    {    p = data + (i->xsize+7)/8*y;    for( x = 0; x<i->xsize; x++ )    {    if( is->r || is->g || is->b )    p[x/8] |= 128 >> (x%8);    is++;    } -  printf("\n"); +     }    push_string( make_shared_binary_string( (char *)data,    i->ysize * (i->xsize+7)/8 ) );   }      /*! @decl string encode(object image, void|mapping args)    *! @decl string _encode(object image, void|mapping args)    *!    *! @fixme    *! Document this function.