Skip to content

Commit ae5cbcd

Browse files
committed
add note on '!' to vipsthumbnail docs
oops, this was missing, thanks beaudet see https://github.com/jcupitt/libvips/issues/659
1 parent d06c2fe commit ae5cbcd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/Using-vipsthumbnail.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ is.
8282
You can append `<` or `>` to mean only resize if the image is smaller or larger
8383
than the target.
8484

85+
You can append `!` to force a resize to the exact target size, breaking
86+
the aspect ratio.
87+
8588
# Cropping
8689

8790
`vipsthumbnail` normally shrinks images to fit within the box set by `--size`.
@@ -187,7 +190,7 @@ You can give options to the image write operation as a list of comma-separated
187190
arguments in square brackets. For example:
188191

189192
```
190-
$ vipsthumbnail fred.jpg ../jim.tif -o > tn_%s.jpg[Q=90,optimize_coding]
193+
$ vipsthumbnail fred.jpg ../jim.tif -o tn_%s.jpg[Q=90,optimize_coding]
191194
```
192195

193196
will write jpeg images with quality 90, and will turn on the libjpeg coding

0 commit comments

Comments
 (0)