From c929b6946d8735ab2e69f7a8c190a6b789285c42 Mon Sep 17 00:00:00 2001 From: Patrick Farwick <9168045+MinecraftPlaye@users.noreply.github.com> Date: Fri, 13 May 2022 18:24:55 +0000 Subject: [PATCH] Add WebP to the page detection list for comics The WebP image format can be used to store comic pages. --- src/plugins/comicsPlayer/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/comicsPlayer/plugin.js b/src/plugins/comicsPlayer/plugin.js index 8a02926a42..42aaa31056 100644 --- a/src/plugins/comicsPlayer/plugin.js +++ b/src/plugins/comicsPlayer/plugin.js @@ -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) {