X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;ds=sidebyside;f=pctb%2Fconvert.h;h=80979ec2e885829f8d15faccd887c9c63a6812b0;hb=acdca6c311ca29cdb09c75a828458bb96f9ae2e7;hp=0abdf93c5c48e5ee986a1b50cec5fef03963b26e;hpb=49e1be1a94ba3dc9d951056ebec2784286d3e928;p=ypp-sc-tools.main.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)