Image info hacks.
[dcpomatic.git] / src / lib / image.h
index 128b546b5cc7ac2a511e592fe98ae388d36556dd..3c719f6125e619816bc98ae447d65e31b4663bc3 100644 (file)
@@ -123,4 +123,15 @@ private:
 extern PositionImage merge (std::list<PositionImage> images, Image::Alignment alignment);
 extern bool operator== (Image const & a, Image const & b);
 
+class ImageInformation
+{
+public:
+       int32_t minima[3];
+       int32_t maxima[3];
+
+       void merge(ImageInformation const& other);
+};
+
+ImageInformation image_information (Image const& image);
+
 #endif