summaryrefslogtreecommitdiff
path: root/svtools/inc
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-01-13 15:59:49 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-01-31 10:44:29 +0100
commit60eaa424c5e213f31227008e1ed66a646491a360 (patch)
tree7f1a2ff9e73367502d63bb84a528d855ccff17a6 /svtools/inc
parentb7d5ff4bbf41094b6579ae26023fbd686b060ce9 (diff)
support for the WebP image format (tdf#114532)
This commit implements a WebP reader and writer for both lossless and lossy WebP, export dialog options for selecting lossless/lossy and quality for lossy, and various internal support for the format. Since writing WebP to e.g. ODT documents would make those images unreadable by previous versions with no WebP support, support for that is explicitly disabled in GraphicFilter, to be enabled somewhen later. Change-Id: I9b10f6da6faa78a0bb74415a92e9f163c14685f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128920 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svtools/inc')
-rw-r--r--svtools/inc/bitmaps.hlst2
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/inc/bitmaps.hlst b/svtools/inc/bitmaps.hlst
index 275b73c83538..5aa57db637ed 100644
--- a/svtools/inc/bitmaps.hlst
+++ b/svtools/inc/bitmaps.hlst
@@ -39,6 +39,7 @@ inline constexpr OUStringLiteral BMP_DXF_SC = u"res/sx03217.png";
inline constexpr OUStringLiteral BMP_MET_SC = u"res/sx03218.png";
inline constexpr OUStringLiteral BMP_PNG_SC = u"res/sx03219.png";
inline constexpr OUStringLiteral BMP_SVM_SC = u"res/sx03222.png";
+inline constexpr OUStringLiteral BMP_WEBP_SC = u"res/sx03223.png";
inline constexpr OUStringLiteral BMP_GLOBAL_DOC_SC = u"res/sx03226.png";
inline constexpr OUStringLiteral BMP_DRAW_SC = u"res/sx03227.png";
inline constexpr OUStringLiteral BMP_DRAWTEMPLATE_SC = u"res/sx03228.png";
@@ -85,6 +86,7 @@ inline constexpr OUStringLiteral BMP_DXF_LC = u"res/lx03217.png";
inline constexpr OUStringLiteral BMP_MET_LC = u"res/lx03218.png";
inline constexpr OUStringLiteral BMP_PNG_LC = u"res/lx03219.png";
inline constexpr OUStringLiteral BMP_SVM_LC = u"res/lx03222.png";
+inline constexpr OUStringLiteral BMP_WEBP_LC = u"res/lx03223.png";
inline constexpr OUStringLiteral BMP_GLOBAL_DOC_LC = u"res/lx03226.png";
inline constexpr OUStringLiteral BMP_DRAW_LC = u"res/lx03227.png";
inline constexpr OUStringLiteral BMP_DRAWTEMPLATE_LC = u"res/lx03228.png";