mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-24 13:38:01 +01:00
Update android photo filters library
This commit is contained in:
parent
d5692219a1
commit
ac8f912efb
4 changed files with 6 additions and 8 deletions
|
@ -70,7 +70,7 @@ android {
|
|||
}
|
||||
|
||||
compileOptions {
|
||||
val currentJavaVersionFromLibs = JavaVersion.valueOf(libs.versions.app.build.javaVersion.get().toString())
|
||||
val currentJavaVersionFromLibs = JavaVersion.valueOf(libs.versions.app.build.javaVersion.get())
|
||||
sourceCompatibility = currentJavaVersionFromLibs
|
||||
targetCompatibility = currentJavaVersionFromLibs
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ dependencies {
|
|||
implementation(libs.androidx.constraintlayout)
|
||||
implementation(libs.androidx.media3.exoplayer)
|
||||
implementation(libs.sanselan)
|
||||
implementation(libs.imagefilters)
|
||||
implementation(libs.androidphotofilters)
|
||||
implementation(libs.androidsvg.aar)
|
||||
implementation(libs.gestureviews)
|
||||
implementation(libs.subsamplingscaleimageview)
|
||||
|
|
|
@ -13,7 +13,7 @@ class FilterThumbnailsManager {
|
|||
|
||||
fun processThumbs(): ArrayList<FilterItem> {
|
||||
for (filterItem in filterThumbnails) {
|
||||
filterItem.bitmap = filterItem.filter.processFilter(Bitmap.createBitmap(filterItem.bitmap))
|
||||
filterItem.bitmap = filterItem.filter.processFilter(Bitmap.createBitmap(filterItem.bitmap))!!
|
||||
processedThumbnails.add(filterItem)
|
||||
}
|
||||
return processedThumbnails
|
||||
|
|
|
@ -24,7 +24,7 @@ zjupureWebpdecoder = "2.6.4.16.0"
|
|||
jxlDecoder = "2.3.0"
|
||||
gestureviews = "e706487a14"
|
||||
androidsvgAar = "1.4"
|
||||
imagefilters = "1.0.7"
|
||||
androidphotofilters = "193f2ae509"
|
||||
sanselan = "0.97-incubator"
|
||||
media3Exoplayer = "1.4.1"
|
||||
okhttp = "4.12.0"
|
||||
|
@ -60,7 +60,7 @@ android-image-cropper = { module = "com.vanniktech:android-image-cropper", versi
|
|||
subsamplingscaleimageview = { module = "org.fossify:subsampling-scale-image-view", version.ref = "subsamplingScaleImageView" }
|
||||
androidsvg-aar = { module = "com.caverock:androidsvg-aar", version.ref = "androidsvgAar" }
|
||||
gestureviews = { module = "org.fossify:gestureviews", version.ref = "gestureviews" }
|
||||
imagefilters = { module = "info.androidhive:imagefilters", version.ref = "imagefilters" }
|
||||
androidphotofilters = { module = "com.github.naveensingh:androidphotofilters", version.ref = "androidphotofilters" }
|
||||
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
|
||||
okio = { module = "com.squareup.okio:okio", version.ref = "okio" }
|
||||
sanselan = { module = "org.apache.sanselan:sanselan", version.ref = "sanselan" }
|
||||
|
|
|
@ -2,7 +2,6 @@ pluginManagement {
|
|||
repositories {
|
||||
gradlePluginPortal()
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +10,6 @@ dependencyResolutionManagement {
|
|||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
maven { setUrl("https://jitpack.io") }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue