summaryrefslogtreecommitdiffstats
path: root/src/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h
index 361296e..1177cd0 100644
--- a/src/image.h
+++ b/src/image.h
@@ -26,6 +26,10 @@
#include "font.h"
+#define IMAGE_BIT_DEPTH 8
+#define IMAGE_CHANNELS 3
+#define IMAGE_PIXEL_SIZE ((IMAGE_BIT_DEPTH + 7) / 8) * IMAGE_CHANNELS
+
struct image;
struct image *