aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-04-27 18:01:25 +0200
committerThomas White <taw@physics.org>2010-04-27 18:01:47 +0200
commit206c163522a4d3e5ffc8ab6817dce1675196344f (patch)
tree42785276b4b4b33a86fb84ae200f82dfb60cba8a /src/render.h
parent409fd287a1c29a661b138a90b8b4334d502a1847 (diff)
hdfsee: Add ability to save image as PNG
Also moves the "Image" menu to "View", where it belongs.
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render.h b/src/render.h
index 29f69ec4..c0570d2f 100644
--- a/src/render.h
+++ b/src/render.h
@@ -22,6 +22,7 @@
#include <stddef.h>
#include "displaywindow.h"
+#include "image.h"
enum {
SCALE_COLOUR,
@@ -32,5 +33,9 @@ enum {
extern GdkPixbuf *render_get_image(DisplayWindow *dw);
extern GdkPixbuf *render_get_colour_scale(size_t w, size_t h, int scale);
+extern int render_png(DisplayWindow *dw, const char *filename);
+extern int render_tiff_fp(DisplayWindow *dw, const char *filename);
+extern int render_tiff_int16(DisplayWindow *dw, const char *filename);
+
#endif /* RENDER_H */