--- /dev/null
+#include <iostream>
+#include <fstream>
+#ifdef __APPLE__
+#include <CoreGraphics/CoreGraphics.h>
+#include <GL/glew.h>
+#endif
+
+class Image {
+ public:
+ Image(const std::string &path);
+ ~Image();
+ unsigned char *data();
+ GLfloat width() const;
+ GLfloat height() const;
+ private:
+ #ifdef __APPLE__
+ CFDataRef dataRef;
+ GLfloat _width, _height;
+ #endif
+};