From 25e56f3c77fdffbd33a275fdcbecc89cd5d2eb82 Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 5 Jan 2021 22:13:48 -0500 Subject: [PATCH] Switch to version of SubsamplingScaleImageView with new image decoder Courtesy of @inorichi. Branch: https://github.com/tachiyomiorg/subsampling-scale-image-view/commits/tachiyomi-new-decoder Decoding speed will be a bit slower now due to two passes if crop borders is enabled, but should be more reliable on colored images and work for black borders. Memory usage (re: leaks) should also be better. (cherry picked from commit 762f5bdc339ec04196c6694db1b4da902256abb1) # Conflicts: # app/build.gradle.kts --- app/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 06dba9854..521e984b6 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -220,7 +220,7 @@ dependencies { implementation("com.github.bumptech.glide:okhttp3-integration:$glideVersion") kapt("com.github.bumptech.glide:compiler:$glideVersion") - implementation("com.github.tachiyomiorg:subsampling-scale-image-view:6caf219") + implementation("com.github.tachiyomiorg:subsampling-scale-image-view:ea1e51b") // Logging implementation("com.jakewharton.timber:timber:4.7.1")