Account for J2K decoding at lower-than-maximum resolution when cropping
[dcpomatic.git] / src / lib / magick_image_proxy.h
index 32d2f7efb1dd0e772b55ec5fcf15396197609ca3..7d2b69afeaf4aabec4b115354143cdd1d6414d98 100644 (file)
@@ -29,7 +29,7 @@ public:
        explicit MagickImageProxy (boost::filesystem::path);
        MagickImageProxy (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;