feat(gui): add webp image preview support (PR #2372)

* feat(gui): add webp image preview support (#2190)

* fix: resolve spotless check

* remove explicit webp provider register

* Update jadx-gui/src/main/java/jadx/gui/ui/panel/ImagePanel.java

---------

Co-authored-by: Skylot <118523+skylot@users.noreply.github.com>
This commit is contained in:
Yaroslav
2024-12-18 21:28:44 +02:00
committed by GitHub
parent 17695babf4
commit 2924bb259c
2 changed files with 2 additions and 1 deletions
@@ -11,7 +11,7 @@ public enum ResourceType {
XML(".xml"),
ARSC(".arsc"),
FONT(".ttf", ".otf"),
IMG(".png", ".gif", ".jpg"),
IMG(".png", ".gif", ".jpg", ".webp"),
MEDIA(".mp3", ".wav"),
LIB(".so"),
MANIFEST,
+1
View File
@@ -33,6 +33,7 @@ dependencies {
implementation("com.fifesoft:rsyntaxtextarea:3.5.3")
implementation("org.drjekyll:fontchooser:3.1.0")
implementation("hu.kazocsaba:image-viewer:1.2.3")
implementation("com.twelvemonkeys.imageio:imageio-webp:3.12.0") // WebP support for image viewer
implementation("com.formdev:flatlaf:3.5.4")
implementation("com.formdev:flatlaf-intellij-themes:3.5.4")