Skip to content

Commit 059579d

Browse files
authored
Update README.md
1 parent b952582 commit 059579d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ dependencies {
2121
// listOfFiles : File[] or String[]
2222
// targetWidth/targetHeight : int, pixel
2323
// doStretch : boolean for ignoring aspect ratio
24-
ResizeProcessor.resizeImagesWithThese(listOfFiles, targetWidth, targetHeight, doStretch);
24+
// processBiggerFiles : boolean for allowing upscale
25+
ResizeProcessor.resizeImagesWithThese(listOfFiles, targetWidth, targetHeight, doStretch, processBiggerFiles);
2526
```
2627

2728
```Java
2829
// file : File
2930
// targetWidth/targetHeight : int, pixel
3031
// doStretch : boolean for ignoring aspect ratio
31-
ResizeProcessor.resizeImageForThis(file, targetWidth, targetHeight, doStretch);
32+
// processBiggerFile : boolean for allowing upscale
33+
ResizeProcessor.resizeImageForThis(file, targetWidth, targetHeight, doStretch, processBiggerFile);
3234
```
3335

3436
## Change Algorithm

0 commit comments

Comments
 (0)