summaryrefslogtreecommitdiffstats
path: root/lib/exif_wrapper.h
diff options
context:
space:
mode:
authordan <[email protected]>2023-03-12 22:43:08 -0400
committerdan <[email protected]>2023-03-12 22:43:08 -0400
commitdc363d950e8d3b3c05f4cd0062d9dd59cc74e37e (patch)
tree04ab261209fdb310b74d54806edf863f696e915b /lib/exif_wrapper.h
parent06cdec8ea15a275281e003782676ce42d2748f80 (diff)
download54-dc363d950e8d3b3c05f4cd0062d9dd59cc74e37e.tar.gz
54-dc363d950e8d3b3c05f4cd0062d9dd59cc74e37e.tar.bz2
54-dc363d950e8d3b3c05f4cd0062d9dd59cc74e37e.zip
feat: implement cpp functions to get and set exif data
Diffstat (limited to 'lib/exif_wrapper.h')
-rw-r--r--lib/exif_wrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/exif_wrapper.h b/lib/exif_wrapper.h
new file mode 100644
index 0000000..ec51406
--- /dev/null
+++ b/lib/exif_wrapper.h
@@ -0,0 +1,4 @@
+#include <stdint.h>
+
+unsigned int getExifOrientation(uint8_t* imgBytes, unsigned int size);
+void setExifOrientation(uint8_t* imgBytes, unsigned int size, unsigned int orientation);