mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
CRe, MuPDF, PicDocument: add support for WebP images (#9402)
Bump base, includes: - thirdparty/luasec 1.2.0 - Bump NanoSVG: various small fixes - Add thirdparty/libwebp and ffi/webp.lua wrapper - MuPDF: add support for webp images - bump crengine: add support for webp images - thirdparty/harfbuzz 5.1.0 RenderImage:renderImageData(): render webp images with ffi/webp.lua.
This commit is contained in:
@@ -63,6 +63,7 @@ function PicDocument:register(registry)
|
||||
registry:addProvider("jpg", "image/jpeg", self, 80)
|
||||
registry:addProvider("jpeg", "image/jpeg", self, 80)
|
||||
registry:addProvider("png", "image/png", self, 80)
|
||||
registry:addProvider("webp", "image/webp", self, 80)
|
||||
end
|
||||
|
||||
return PicDocument
|
||||
|
||||
Reference in New Issue
Block a user