summaryrefslogtreecommitdiff
path: root/include/svx
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 /include/svx
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 'include/svx')
-rw-r--r--include/svx/strings.hrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/strings.hrc b/include/svx/strings.hrc
index c172cbfa0a3c..a368a4c77906 100644
--- a/include/svx/strings.hrc
+++ b/include/svx/strings.hrc
@@ -1412,6 +1412,7 @@
#define STR_IMAGE_PCT NC_("STR_IMAGE_PCT", "PCT image")
#define STR_IMAGE_SVG NC_("STR_IMAGE_SVG", "SVG image")
#define STR_IMAGE_BMP NC_("STR_IMAGE_BMP", "BMP image")
+#define STR_IMAGE_WEBP NC_("STR_IMAGE_WEBP", "WebP image")
#define STR_IMAGE_UNKNOWN NC_("STR_IMAGE_UNKNOWN", "Unknown")
#define STR_SWITCH NC_("STR_SWITCH", "Switch")