Add basic test for client/server with a J2K image.
[dcpomatic.git] / src / lib / j2k_image_proxy.cc
index 9914887738bc5859eba5a21eec55e88f15ee56db..7877eca178187b7227dce592840b598425912d79 100644 (file)
@@ -28,6 +28,7 @@
 #include <dcp/colour_conversion.h>
 #include <dcp/rgb_xyz.h>
 #include <libcxml/cxml.h>
+#include <libxml++/libxml++.h>
 
 #include "i18n.h"
 
@@ -148,3 +149,10 @@ J2KImageProxy::same (shared_ptr<const ImageProxy> other) const
 
        return memcmp (_data.data().get(), jp->_data.data().get(), _data.size()) == 0;
 }
+
+J2KImageProxy::J2KImageProxy (Data data, dcp::Size size)
+       : _data (data)
+       , _size (size)
+{
+
+}