diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-10-12 21:54:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-10-12 21:54:35 +0100 |
| commit | 45d19dde4861fe9a729ba90ab1d8c486ab956529 (patch) | |
| tree | 61616e780adcc8325276830cda3bf8d48f44f6d2 /src/lib/image.h | |
| parent | 72b11d5eb036651b6ff68edf3ed270e8fc52960f (diff) | |
Restore Image::as_png using libpng.
Diffstat (limited to 'src/lib/image.h')
| -rw-r--r-- | src/lib/image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/image.h b/src/lib/image.h index 73f2313c1..dbcb38cc7 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -83,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: |
