Account for J2K decoding at lower-than-maximum resolution when cropping
[dcpomatic.git] / src / lib / raw_image_proxy.h
index 9f8424eb34df8061154ee96925b679a8d6939890..78b7db0c763cf1e53bbfcb188fef025012a57850 100644 (file)
@@ -29,7 +29,7 @@ public:
        explicit RawImageProxy (boost::shared_ptr<Image>);
        RawImageProxy (boost::shared_ptr<cxml::Node> xml, boost::shared_ptr<Socket> socket);
 
-       boost::shared_ptr<Image> image (
+       std::pair<boost::shared_ptr<Image>, int> image (
                boost::optional<dcp::NoteHandler> note = boost::optional<dcp::NoteHandler> (),
                boost::optional<dcp::Size> size = boost::optional<dcp::Size> ()
                ) const;