From bfddb5b424061c1adbb7782f3f93c33f9ff4bdc6 Mon Sep 17 00:00:00 2001 From: Mario Hero Date: Thu, 26 Oct 2023 08:12:27 +0800 Subject: [PATCH 1/6] add avif support --- app/build.gradle.kts | 2 ++ gradle.properties | 2 ++ gradle/libs.versions.toml | 7 ++++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 352eefa8a..25cad0366 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -56,6 +56,7 @@ android { getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) + signingConfig = signingConfigs.getByName("debug") if (keystorePropertiesFile.exists()) { signingConfig = signingConfigs.getByName("release") } @@ -121,6 +122,7 @@ dependencies { implementation(libs.picasso) { exclude(group = "com.squareup.okhttp3", module = "okhttp") } + implementation(libs.avif.integration) compileOnly(libs.okhttp) ksp(libs.glide.compiler) diff --git a/gradle.properties b/gradle.properties index 23bdc1ab5..401910d8a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,6 @@ +android.defaults.buildfeatures.buildconfig=true android.enableJetifier=true +android.nonFinalResIds=false android.nonTransitiveRClass=true android.useAndroidX=true org.gradle.jvmargs=-Xmx8192m diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a2c137ee6..a9d148088 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,9 +15,9 @@ room = "2.6.0-beta01" #Simple tools simple-commons = "9e60e24790" #Gradle -gradlePlugins-agp = "7.4.0" +gradlePlugins-agp = "8.1.2" #Other -androidGifDrawable = "1.2.25" +androidGifDrawable = "1.2.28" androidImageCropper = "4.5.0" apng = "2.28.0" awebp = "2.28.0" @@ -31,7 +31,7 @@ sdkVideowidget = "1.180.0" sdkPanowidget = "1.180.0" media3Exoplayer = "1.1.0" okhttp = "4.9.0" -okio = "3.0.0" +okio = "3.6.0" picasso = "2.71828" #build app-build-compileSDKVersion = "34" @@ -74,6 +74,7 @@ awebp = { module = "com.github.penfeizhou.android.animation:awebp", version.ref glide-compiler = { module = "com.github.bumptech.glide:ksp", version.ref = "glideCompiler" } 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 = "5.0.0-rc01" } [bundles] room = [ "androidx-room-ktx", From 9b9e419e99b7ba39d8b5fca45ffccc764a7d8a19 Mon Sep 17 00:00:00 2001 From: Mario Hero Date: Thu, 26 Oct 2023 08:16:57 +0800 Subject: [PATCH 2/6] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f98ad88f3..45a2b9441 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Simple Gallery brings you all the photo viewing and editing features you have been missing on your Android in one stylish easy-to-use app. Browse, manage, crop and edit photos or videos faster than ever, recover accidentally deleted files or create hidden galleries for your most precious images and videos. And with advanced file-support and full customization, finally, your gallery works just the way you want. +And now it supports AVIF viewing on old Android! + ADVANCED PHOTO EDITOR Turn photo editing into child's play with Simple Gallery's improved file organizer and photo album. Intuitive gestures make it super easy to edit your images on the fly. Crop, flip, rotate and resize pictures or apply stylish filters to make them pop in an instant. From b1fab885ab37a3c214a06af49c19e0519bbd3162 Mon Sep 17 00:00:00 2001 From: Mario Hero Date: Thu, 26 Oct 2023 08:28:54 +0800 Subject: [PATCH 3/6] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 45a2b9441..e02a75ebc 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,13 @@ Simple Gallery brings you all the photo viewing and editing features you have been missing on your Android in one stylish easy-to-use app. Browse, manage, crop and edit photos or videos faster than ever, recover accidentally deleted files or create hidden galleries for your most precious images and videos. And with advanced file-support and full customization, finally, your gallery works just the way you want. -And now it supports AVIF viewing on old Android! +
+
+ +# **And now it supports AVIF viewing on old Android! Download it at https://github.com/Mario-Hero/Simple-Gallery-AVIF/releases/tag/Publish** + +
+
ADVANCED PHOTO EDITOR Turn photo editing into child's play with Simple Gallery's improved file organizer and photo album. Intuitive gestures make it super easy to edit your images on the fly. Crop, flip, rotate and resize pictures or apply stylish filters to make them pop in an instant. From 88d345b31ecc3fe947023f110a2ae511af79c312 Mon Sep 17 00:00:00 2001 From: Mario Hero Date: Thu, 2 Nov 2023 08:24:24 +0800 Subject: [PATCH 4/6] Update README.md --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index e02a75ebc..b20a63af7 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,6 @@ Simple Gallery brings you all the photo viewing and editing features you have been missing on your Android in one stylish easy-to-use app. Browse, manage, crop and edit photos or videos faster than ever, recover accidentally deleted files or create hidden galleries for your most precious images and videos. And with advanced file-support and full customization, finally, your gallery works just the way you want. -
-
- -# **And now it supports AVIF viewing on old Android! Download it at https://github.com/Mario-Hero/Simple-Gallery-AVIF/releases/tag/Publish** - -
-
ADVANCED PHOTO EDITOR Turn photo editing into child's play with Simple Gallery's improved file organizer and photo album. Intuitive gestures make it super easy to edit your images on the fly. Crop, flip, rotate and resize pictures or apply stylish filters to make them pop in an instant. From f5b03abccdd7062bb9aaae3c6decf379d03757b6 Mon Sep 17 00:00:00 2001 From: Mario Hero Date: Thu, 2 Nov 2023 08:24:43 +0800 Subject: [PATCH 5/6] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index b20a63af7..f98ad88f3 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ Simple Gallery brings you all the photo viewing and editing features you have been missing on your Android in one stylish easy-to-use app. Browse, manage, crop and edit photos or videos faster than ever, recover accidentally deleted files or create hidden galleries for your most precious images and videos. And with advanced file-support and full customization, finally, your gallery works just the way you want. - ADVANCED PHOTO EDITOR Turn photo editing into child's play with Simple Gallery's improved file organizer and photo album. Intuitive gestures make it super easy to edit your images on the fly. Crop, flip, rotate and resize pictures or apply stylish filters to make them pop in an instant. From 5e5d2acb43715558dea75751f698f0fd45acf6de Mon Sep 17 00:00:00 2001 From: Mario Hero Date: Tue, 6 Aug 2024 16:09:02 +0800 Subject: [PATCH 6/6] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f98ad88f3..daf20ff7b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,13 @@ -# Simple Gallery +# Simple Gallery AVIF Logo +这是Simple Gallery的AVIF改版,使其支持了AVIF图片的读取。可以在右侧的Release页面下载。 + +This is the AVIF version of Simple Gallery, which now supports the reading of AVIF images. You can download it in Release Page. + +
+ Simple Gallery brings you all the photo viewing and editing features you have been missing on your Android in one stylish easy-to-use app. Browse, manage, crop and edit photos or videos faster than ever, recover accidentally deleted files or create hidden galleries for your most precious images and videos. And with advanced file-support and full customization, finally, your gallery works just the way you want. ADVANCED PHOTO EDITOR