diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-02-08 21:30:39 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-02-09 11:57:48 +0100 |
commit | 34a6e8443312c5f9aa0a1bb055fac50d722a90ff (patch) | |
tree | 41c1c25c6c639d6c6ce4d29d117138bad61e5358 /vcl/Module_vcl.mk | |
parent | ebc6cfbb323d2f933336f7e2f4a775098c4f4341 (diff) |
add PngImageFilter that uses libpng for PNG loading
This adds loading of PNG images that uses libpng instead of our
own solution. It always loaded the image as either RGB or RGBA
image and if the source PNG is using something else, libpng
converts to either RGB or RGBA.
In addition this adds tests for loading of various PNG files to
make sure the resulting bitmaps are using pixel data as expected.
(especially needed to check the RGBA bitmaps)
Change-Id: I194321caf76c2ec2365bb6075c79c5e84983658a
Reviewed-on: https://gerrit.libreoffice.org/67571
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/Module_vcl.mk')
-rw-r--r-- | vcl/Module_vcl.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk index 95dd579c38de..14e3eacf1bf5 100644 --- a/vcl/Module_vcl.mk +++ b/vcl/Module_vcl.mk @@ -205,6 +205,7 @@ $(eval $(call gb_Module_add_check_targets,vcl,\ CppunitTest_vcl_errorhandler \ CppunitTest_vcl_bitmap_render_test \ CppunitTest_vcl_apitests \ + CppunitTest_vcl_png_test \ )) ifneq (,$(filter PDFIUM,$(BUILD_TYPE))) |