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:
@@ -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,
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user