X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.main.git;a=blobdiff_plain;f=pctb%2Fconvert.h;h=80979ec2e885829f8d15faccd887c9c63a6812b0;hp=d38c38efab83362a3ec7cb22e30dcc8539565cfb;hb=7ca1164cb2e18550cbdf1684802b6573a6165a8c;hpb=df798e7f57fac305e26cf1cf6265160ac5219d72 diff --git a/pctb/convert.h b/pctb/convert.h index d38c38e..80979ec 100644 --- a/pctb/convert.h +++ b/pctb/convert.h @@ -54,14 +54,16 @@ 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) /*----- from structure.c -----*/ void find_structure(const CanonImage *im, int *max_relevant_y_r); +Rect find_sunshine_widget(void); -void find_islandname(void); +void find_islandname(RgbImage *ri); void check_correct_commodities(void); void read_screenshots(void); void read_one_screenshot(void);