Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix scaling to aspect

  • Loading branch information...
commit 2ed28f61c96f9f49c9b68630e1f2d537a8caaffa 1 parent 0a07d95
@craigraw craigraw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -19,7 +19,7 @@ byte[] crop(InputStream inputStream, int x, int y, int width, int height)
Performs a crop of an image to the specified dimensions.
```groovy
-byte[] crop(InputStream inputStream, int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight)
+byte[] cropAndScale(InputStream inputStream, int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight)
```
Performs a crop of an image to the specified dimensions, followed by a scale.
Please sign in to comment.
Something went wrong with that request. Please try again.