add note on '!' to vipsthumbnail docs

oops, this was missing, thanks beaudet

see https://github.com/jcupitt/libvips/issues/659
This commit is contained in:
John Cupitt 2018-07-17 12:39:48 +01:00
parent d06c2fee22
commit ae5cbcd985

View File

@ -82,6 +82,9 @@ is.
You can append `<` or `>` to mean only resize if the image is smaller or larger
than the target.
You can append `!` to force a resize to the exact target size, breaking
the aspect ratio.
# Cropping
`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
arguments in square brackets. For example:
```
$ vipsthumbnail fred.jpg ../jim.tif -o > tn_%s.jpg[Q=90,optimize_coding]
$ vipsthumbnail fred.jpg ../jim.tif -o tn_%s.jpg[Q=90,optimize_coding]
```
will write jpeg images with quality 90, and will turn on the libjpeg coding