First cut at J2K import.
[dcpomatic.git] / src / lib / j2k_image_proxy.cc
index 1fe854cd1bd4e88afb8c379b140fd58d9337da84..9312a7763ba8e5c959cf48e39cd227de5c686a9f 100644 (file)
 using std::string;
 using boost::shared_ptr;
 
+/** Construct a J2KImageProxy from a JPEG2000 file */
+J2KImageProxy::J2KImageProxy (boost::filesystem::path path, dcp::Size size)
+       : _mono (new dcp::MonoPictureFrame (path))
+       , _size (size)
+{
+
+}
+
 J2KImageProxy::J2KImageProxy (shared_ptr<const dcp::MonoPictureFrame> frame, dcp::Size size)
        : _mono (frame)
        , _size (size)