X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2Fconvert.h;fp=pctb%2Fconvert.h;h=80979ec2e885829f8d15faccd887c9c63a6812b0;hb=dac0bb3ca1c725ef968a07bb89fa96ebdc7fb0b9;hp=0abdf93c5c48e5ee986a1b50cec5fef03963b26e;hpb=fcb77d1400e798c5154251b44aabdecfc37bf839;p=ypp-sc-tools.web-live.git diff --git a/pctb/convert.h b/pctb/convert.h index 0abdf93..80979ec 100644 --- a/pctb/convert.h +++ b/pctb/convert.h @@ -54,6 +54,7 @@ typedef struct RgbImage { void identify_rgbimage(const RgbImage *base, Rect portion, char result[MAXIMGIDENT], const char *what); RgbImage *alloc_rgb_image(int w, int h); +void fwrite_ppmraw(FILE *f, const RgbImage *ri); #define RI_PIXEL(ri,x,y) ((ri)->data + ((y)*(ri)->w + (x)) * 3)