vwebp: add a -fit option

This is to make the initial window be rescaled in case the image
dimension is too large to fit the display.

BUG=webp:433

Change-Id: Ib04c12962bc8c26e74c8a6193829214da636ebde
This commit is contained in:
Pascal Massimino
2019-05-28 11:56:52 +02:00
parent 1326988d10
commit cbd23dd5b4
3 changed files with 27 additions and 3 deletions

1
README
View File

@ -405,6 +405,7 @@ Options are:
-dither <int> dithering strength (0..100), default=50
-noalphadither disable alpha plane dithering
-usebgcolor .. display background color
-fit ......... downscale large images to preserve aspect ratio
-mt .......... use multi-threading
-info ........ print info
-h ........... this help message