summaryrefslogtreecommitdiff
path: root/src/lib/image_png.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-12-18 21:26:05 +0100
committerCarl Hetherington <cth@carlh.net>2022-04-29 00:11:17 +0200
commit7ec6c86c913fba820870565ee757fdf43ae47433 (patch)
tree7cdc265ffd2048550afe90cf7a087175ea264364 /src/lib/image_png.h
parent4673b12dcf6340862f9f4f72fc6dca8553130b55 (diff)
Move Image::as_png() out to image_as_png().
Diffstat (limited to 'src/lib/image_png.h')
-rw-r--r--src/lib/image_png.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib/image_png.h b/src/lib/image_png.h
new file mode 100644
index 000000000..b3c0774fd
--- /dev/null
+++ b/src/lib/image_png.h
@@ -0,0 +1,22 @@
+/*
+ Copyright (C) 2021 Carl Hetherington <cth@carlh.net>
+
+ This file is part of DCP-o-matic.
+
+ DCP-o-matic is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ DCP-o-matic is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
+dcp::ArrayData image_as_png (std::shared_ptr<const Image> image);