lasty = ysize;
yinc = 1;
}
- line = mymalloc(line_size);
if (compression == BI_RGB) {
masks = std_masks[pix_size-2];
i_color col;
- mm_log((1,"i_writegif(quant %p, img %p, out %p)\n", quant, img, out));
+ mm_log((1,"translate_giflib(quant %p, img %p, out %p)\n", quant, img, out));
/*if (!(im->channels==1 || im->channels==3)) { fprintf(stderr,"Unable to write gif, improper colorspace.\n"); exit(3); }*/
memset(err+(maph-1)*errw, 0, sizeof(*err)*errw);
}
CF_CLEANUP;
+ myfree(err);
}
/* Prescan finds the boxes in the image that have the highest number of colors
and that result is used as the initial value for the vectores */