-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Commit451/NativeStackBlur
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# NativeStackBlur | ||
Android 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 Dependency (jitpack) | ||
|
||
Add JitPack to your repository dependencies: | ||
```Gradle | ||
repositories { | ||
// ... | ||
maven { url "https://jitpack.io" } | ||
} | ||
``` | ||
Easily reference the library in your Android projects using this dependency in your module's `build.gradle` file: | ||
|
||
```Gradle | ||
dependencies { | ||
compile 'com.github.Commit451:NativeStackBlur:1.0' | ||
} | ||
``` | ||
|
||
# Usage | ||
Usage is similar to StackBlur, but also more streamlined: | ||
|
||
```java | ||
Bitmap bm = NativeStackBlur.process(source, blurRadius); | ||
``` | ||
|
||
License | ||
-------- | ||
|
||
Copyright 2013 Commit 451 | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |