chiark / gitweb /
Store full-colour image with every screenshot
[ypp-sc-tools.db-test.git] / pctb / convert.h
index 0abdf93c5c48e5ee986a1b50cec5fef03963b26e..83be1e8bced1ab8fce05d7233588595792f74530 100644 (file)
@@ -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)
 
@@ -117,7 +118,6 @@ void take_one_screenshot(void);
 #define MAX_PAGES 100
 extern CanonImage *page_images[MAX_PAGES];
 extern int npages;
-RgbImage *page0_rgbimage;
 
 extern const char *ocean, *pirate;
 extern char *archipelago, *island;