Skip to content
Browse files

fix scaling to aspect

  • Loading branch information...
1 parent 0a07d95 commit 2ed28f61c96f9f49c9b68630e1f2d537a8caaffa @craigraw craigraw committed
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.

0 comments on commit 2ed28f6

Please sign in to comment.
Something went wrong with that request. Please try again.