diff options
author | Sarper Akdemir <sarper.akdemir@collabora.com> | 2023-01-25 15:36:59 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-03-05 10:55:44 +0000 |
commit | c010b8cc712d1336ed79fb220764f1a850dc22e5 (patch) | |
tree | d1de8171b3c5db1fd57dcb795bbb101fbbd1de28 /sw/source/uibase/dbui | |
parent | ef6bf01f1b1d9b93bb306295f4723b52e4e1e5b4 (diff) |
tdf#153180: PngImageWriter add support for gray alpha colortype
8 bit grayscale images can have alpha accompanying it, and
PNG supports 2 channel gray-alpha images.
libpng supports this with the use of colortype
PNG_COLOR_TYPE_GRAY_ALPHA.
This patch adds support for writing GRAY_ALPHA colorType PNG
images.
This is done by expanding what was in place for
ScanlineFormat::N24BitTcRgb with alpha PNG_COLOR_TYPE_RGBA.
Change-Id: I80d462d784f91529eb9371c6bdb029c78f32f81e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146138
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/source/uibase/dbui')
0 files changed, 0 insertions, 0 deletions