Manual tweaks.
[dcpomatic.git] / src / lib / image.h
index 1869ca828fef65f6bedff70cd1105054e0d741ce..dbcb38cc7a5c41123e7ff3aec60fcb04b0bea8bf 100644 (file)
@@ -44,7 +44,6 @@ public:
        Image (AVPixelFormat p, dcp::Size s, bool aligned, int extra_pixels = 0);
        explicit Image (AVFrame *);
        explicit Image (Image const &);
-       explicit Image (dcp::Data);
        Image (boost::shared_ptr<const Image>, bool);
        Image& operator= (Image const &);
        ~Image ();
@@ -84,6 +83,8 @@ public:
 
        dcp::Data as_png () const;
 
+       void png_error (char const * message);
+
        static boost::shared_ptr<const Image> ensure_aligned (boost::shared_ptr<const Image> image);
 
 private: