aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-11-15 13:59:17 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:40 +0100
commit25c3d29ed7701cadbb3813878f25b633a7cd7c2d (patch)
tree2efd3bd84ee6948543b0bc89053f7654047b8542 /src/render.h
parentfb9df2f18def2d0b8fbdbc854c8a8c10e39ce6d9 (diff)
Move indexing and rendering to libcrystfel
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/render.h b/src/render.h
deleted file mode 100644
index fbfbbdb2..00000000
--- a/src/render.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * render.h
- *
- * Render a high dynamic range buffer in some sensible way
- *
- * (c) 2006-2011 Thomas White <taw@physics.org>
- *
- * Part of CrystFEL - crystallography with a FEL
- *
- */
-
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#ifndef RENDER_H
-#define RENDER_H
-
-
-#include <stddef.h>
-
-#include "image.h"
-
-enum {
- SCALE_COLOUR,
- SCALE_MONO,
- SCALE_INVMONO,
- SCALE_RATIO
-};
-
-/* Colour scale lookup */
-extern void render_scale(double val, double max, int scale,
- double *rp, double *gp, double *bp);
-
-
-#ifdef HAVE_GTK
-
-#include <gdk-pixbuf/gdk-pixbuf.h>
-
-extern GdkPixbuf **render_panels(struct image *image,
- int binning, int scale, double boost,
- int *n_pixbufs);
-
-extern GdkPixbuf *render_get_colour_scale(size_t w, size_t h, int scale);
-
-extern int render_tiff_fp(struct image *image, const char *filename);
-extern int render_tiff_int16(struct image *image, const char *filename,
- double boost);
-
-#endif /* HAVE_GTK */
-
-
-
-#endif /* RENDER_H */