Make a note in the log when XYZ values are clamped by libdcp on XYZ -> RGB conversion.
[dcpomatic.git] / src / lib / j2k_image_proxy.h
index 299180f50ceda178ad286e4d015125eab77e6874..c2f04e1768e8bbaee0482b8b248667068f2aecce 100644 (file)
@@ -17,8 +17,8 @@
 
 */
 
-#include <dcp/util.h>
 #include "image_proxy.h"
+#include <dcp/util.h>
 
 class EncodedData;
 
@@ -30,7 +30,7 @@ public:
        J2KImageProxy (boost::shared_ptr<const dcp::StereoPictureFrame> frame, dcp::Size, dcp::Eye);
        J2KImageProxy (boost::shared_ptr<cxml::Node> xml, boost::shared_ptr<Socket> socket);
 
-       boost::shared_ptr<Image> image () const;
+       boost::shared_ptr<Image> image (boost::optional<dcp::NoteHandler> note = boost::optional<dcp::NoteHandler> ()) const;
        void add_metadata (xmlpp::Node *) const;
        void send_binary (boost::shared_ptr<Socket>) const;