Merge pull request #3637 from MinecraftPlaye/add-webp

(cherry picked from commit ae32ece3468a37c6e88438678901f3593e21b4c8)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
Bill Thornton 2022-05-14 10:43:29 -04:00 committed by Joshua Boniface
parent 069bb6d0ae
commit 69fb418beb

View file

@ -242,7 +242,7 @@ export class ComicsPlayer {
}
// the comic book archive supports any kind of image format as it's just a zip archive
const supportedFormats = ['jpg', 'jpeg', 'jpe', 'jif', 'jfif', 'jfi', 'png', 'avif', 'gif', 'bmp', 'dib', 'tiff', 'tif'];
const supportedFormats = ['jpg', 'jpeg', 'jpe', 'jif', 'jfif', 'jfi', 'png', 'avif', 'gif', 'bmp', 'dib', 'tiff', 'tif', 'webp'];
class ArchiveSource {
constructor(url) {