Skip to content

Commit

Permalink
WebP Params getters
Browse files Browse the repository at this point in the history
  • Loading branch information
apangin committed Oct 20, 2016
1 parent 59cffa9 commit a5952bf
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/one/webp/Params.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,38 @@ public Params png(boolean png) {
return this;
}

public int quality() {
return quality;
}

public int compression() {
return compression;
}

public int maxWidth() {
return maxWidth;
}

public int maxHeight() {
return maxHeight;
}

public boolean useJpegScaling() {
return useJpegScaling;
}

public boolean lossless() {
return lossless;
}

public boolean multithreaded() {
return multithreaded;
}

public boolean png() {
return png;
}

// See struct Params in onewebp.h
long longValue() {
return (long) maxWidth
Expand Down

0 comments on commit a5952bf

Please sign in to comment.