mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-10 10:35:46 +01:00
wrlib: Added support for webp image
This patch is adding support for google webp image format, if you don't know it a quick recap is to say that according to their tests they claim it is better than png and jpeg. Follow the link below for some more details: https://developers.google.com/speed/webp/ Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
committed by
Carlos R. Mafra
parent
de1421394c
commit
050cae3bd2
11
configure.ac
11
configure.ac
@@ -679,6 +679,17 @@ AC_ARG_ENABLE([tiff],
|
||||
WM_IMGFMT_CHECK_TIFF
|
||||
|
||||
|
||||
dnl WEBP Support
|
||||
dnl ===========
|
||||
AC_ARG_ENABLE([webp],
|
||||
[AS_HELP_STRING([--disable-webp], [disable WEBP support through libwebp])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-webp])] )],
|
||||
[enable_webp=auto])
|
||||
WM_IMGFMT_CHECK_WEBP
|
||||
|
||||
|
||||
dnl PPM Support
|
||||
dnl ===========
|
||||
# The PPM format is always enabled because we have built-in support for the format
|
||||
|
||||
Reference in New Issue
Block a user