summaryrefslogtreecommitdiffstats
path: root/gui/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/bitmap.h')
-rw-r--r--gui/bitmap.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gui/bitmap.h b/gui/bitmap.h
new file mode 100644
index 0000000000..5b4075a7e7
--- /dev/null
+++ b/gui/bitmap.h
@@ -0,0 +1,18 @@
+#ifndef __BITMAP_H
+#define __BITMAP_H
+
+typedef struct _txSample
+{
+ unsigned long Width;
+ unsigned long Height;
+ unsigned int BPP;
+ unsigned long ImageSize;
+ char * Image;
+} txSample;
+
+extern int bpRead( char * fname, txSample * bf );
+extern int conv24to32( txSample * bf );
+extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
+extern void Convert1to32( txSample * in,txSample * out );
+
+#endif /* __BITMAP_H */