From 9b93b62f007e3ba0f153ba14ce766a30b5468ab9 Mon Sep 17 00:00:00 2001 From: Naveen Singh Date: Wed, 25 Sep 2024 22:30:21 +0530 Subject: [PATCH] Add back JPEG XL support Closes https://github.com/FossifyOrg/Gallery/issues/3 --- app/build.gradle.kts | 1 + gradle/libs.versions.toml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4ad537851..b3fb99e2b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -127,6 +127,7 @@ dependencies { implementation(libs.awebp) implementation(libs.apng) implementation(libs.avif.integration) + implementation(libs.jxl.integration) implementation(libs.okio) implementation(libs.picasso) { exclude(group = "com.squareup.okhttp3", module = "okhttp") diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7757e0d24..1faaffc6c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -23,6 +23,7 @@ apng = "2.28.0" awebp = "2.28.0" glideCompiler = "4.16.0" zjupureWebpdecoder = "2.6.4.16.0" +jxlDecoder = "2.3.0.1" gestureviews = "e706487a14" androidsvgAar = "1.4" androidphotofilters = "193f2ae509" @@ -71,6 +72,7 @@ glide-compiler = { module = "com.github.bumptech.glide:ksp", version.ref = "glid zjupure-webpdecoder = { module = "com.github.zjupure:webpdecoder", version.ref = "zjupureWebpdecoder" } picasso = { module = "com.squareup.picasso:picasso", version.ref = "picasso" } avif-integration = { group = "com.github.bumptech.glide", name = "avif-integration", version.ref = "glideCompiler" } +jxl-integration = { group = "io.github.awxkee", name = "jxl-coder-glide", version.ref = "jxlDecoder" } [bundles] room = [ "androidx-room-ktx",