Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add avif file support by adding a dependency "com.github.bumptech.glide:avif-integration" #3030

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Simple Gallery
# Simple Gallery AVIF

<img alt="Logo" src="graphics/icon.png" width="120" />

这是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.

</br>

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
Expand Down
2 changes: 2 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ android {
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
signingConfig = signingConfigs.getByName("debug")
if (keystorePropertiesFile.exists()) {
signingConfig = signingConfigs.getByName("release")
}
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -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
7 changes: 4 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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",
Expand Down