Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Qixingchen committed Jun 19, 2018
1 parent 797da5c commit c82fa3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Rx-Get-image
### how to use

``` java
RxGetImage.newBuilder().needCorp(true).isSingle(true).build()
RxGetImage.newBuilder().needCorp(true).isSingle(true).corpWidth(2).corpHeight(1).build()
.subscribe(new Subscriber<File>() {
@Override
public void onCompleted() {
Expand Down Expand Up @@ -42,5 +42,7 @@ default config:
maxSizeInKib = 150;
maxWidthInPx = 1920;
maxHeightInPx = 1920;
corpHeight = 1;
corpWidth = 1;
```
read javadoc in [jitpack](https://jitpack.io/com/github/Qixingchen/Rx-Get-image/-SNAPSHOT/javadoc/)

0 comments on commit c82fa3e

Please sign in to comment.