Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
varunest committed Jun 16, 2016
1 parent a85ceed commit 7a842f5
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,18 @@ Bitmap outputImage = fooFilter.process(inputImage);
## Implementation

### Adding Dependency
Include photofiltersdk in your `settings.gradle` like this :

Simply add Dependency on artifact in your `build.gradle` :

```gradle
dependencies {
compile 'com.github.zomato:androidphotofilters:1.0.0'
...
```

**OR**

Copy|Paste photofilterssdk from the repo to your project and include photofiltersdk in your `settings.gradle` like this :

```gradle
include ':photofilterssdk'
Expand All @@ -36,6 +47,9 @@ Add dependency in your `build.gradle` :
```gradle
compile project(':photofilterssdk')
```

### Usage

Load native library in your activity :

```java
Expand All @@ -47,7 +61,8 @@ public class MainActivity extends AppCompatActivity {
...
```

### Usage
then

```java
Filter myFilter = new Filter();
myFilter.addSubFilter(new BrightnessSubFilter(30));
Expand Down

0 comments on commit 7a842f5

Please sign in to comment.