aboutsummaryrefslogtreecommitdiff
path: root/include/lib/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/color.h')
-rw-r--r--include/lib/color.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/lib/color.h b/include/lib/color.h
index 1bc9393..ceaecbd 100644
--- a/include/lib/color.h
+++ b/include/lib/color.h
@@ -4,16 +4,17 @@
#include <stdint.h>
#include <stddef.h>
#include <lib/bool.h>
+#include <lib/data/image_types.h>
// Color Equal to Background
// Background: zeros in RGB, alpha can be whatever
-bool_t color_zero(const uint8_t* color1, size_t channels);
+bool_t color_zero(const ImageData_t* color1, size_t channels);
// Color Equality
// Determine if two colors are identical
-bool_t color_equal(const uint8_t* color1, const uint8_t* color2, size_t channels);
+bool_t color_equal(const ImageData_t* color1, const ImageData_t* color2, size_t channels);
// Print out the `channels` length color vector
-void print_color(uint8_t* color, size_t channels);
+void print_color(ImageData_t* color, size_t channels);
#endif