vcl: add PNG writer based on libpng

Desktop / LibreOffice - offtkp [gmail.com] - 19 July 2022 07:57 UTC

Add PngImageWriter, a new png writer that uses libpng to replace our own at pngwrite.cxx

PS: most of the work on this commit is done by Tomaž

Change-Id: I52ffd1b286162ee0dd9f694c4f3210385f71daf8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136008

6b4f4bdf9beb vcl: add PNG writer based on libpng
include/vcl/filter/PngImageWriter.hxx | 49 ++++++++
vcl/Library_vcl.mk | 1 +
vcl/qa/cppunit/png/PngFilterTest.cxx | 173 +++++++++++++++++++++++++++
vcl/source/filter/png/PngImageWriter.cxx | 196 +++++++++++++++++++++++++++++++
4 files changed, 419 insertions(+)

Upstream: cgit.freedesktop.org


  • Share