James Zern eb4f813761 cwebp: add -resize_mode
* `down_only`: downsample only if one of the input dimensions is larger
               than the target
* `up_only`: upsample only if one of the input dimensions is smaller
             than the target
* `always`: the original behavior

This change doesn't add related modes like area (@ in ImageMagick) or
minimum width/height (^ in ImageMagick). These can be added if a need
arises.

Bug: webp:405437935
Change-Id: I7752789dce6e3b9c3fb7d6edf63ca5559bb3463c
2025-04-16 18:53:36 -07:00
..
2024-05-01 10:38:44 -07:00
2024-05-01 10:38:44 -07:00
2025-04-16 18:53:36 -07:00
2024-05-01 10:38:44 -07:00
2024-12-06 14:53:06 -08:00
2010-11-17 20:09:47 -08:00
2024-12-06 14:53:06 -08:00