在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Commit451/NativeStackBlur开源软件地址(OpenSource Url):https://github.com/Commit451/NativeStackBlur开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):NativeStackBlurAndroid StackBlur with gradle support (only for the native method) https://github.com/kikoso/android-stackblur As you may see, kikoso has not yet provided a way to add StackBlur as a gradle dependency easily. This library is an attempt to make the NativeBlurProcess availible through gradle without the need to import any modules or do any other configuration. Gradle DependencyAdd this in your root allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
} Then, add the library to your project dependencies {
implementation 'com.github.Commit451:NativeStackBlur:1.0.5'
} This library is provided as a "fat" aar with native binaries for all available architectures. To reduce your APK size, use the ABI filtering/splitting techniques in the Android plugin: http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits UsageUsage is similar to StackBlur, but also more streamlined: Bitmap bm = NativeStackBlur.process(source, blurRadius); CompilingIf you want to compile the original StackBlur lib for various reasons, such as adding more architecture support, simply pull down the original StackBlur repo, navigate to the StackBlur project folder (with the res and src folders). Delete the License
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论