mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-25 10:40:57 +00:00
When `printimage` is invoked without `-w` or `-h`, we now preserve the aspect ratio of each input image when scaling it to fit in the window. A new flag `-i` ignores the aspect ratio, recovering the old behavior when neither `-w` nor `-h` is passed. When `-i` is passed alongside exactly one of `-w` or `-h`, the other dimension is just taken from the window size, ignoring aspect ratio. We also unconditionally print a newline between images to prevent them from overlapping. wchargin-branch: printimage-fit wchargin-source: 4c2cfcffe9ce1a3b30c0ff051e3c6a2c166ae1c7 |
||
|---|---|---|
| .. | ||
| args | ||
| build | ||
| decode | ||
| emacs | ||
| hash | ||
| lambda | ||
| net | ||
| plinko | ||
| scripts | ||
| viz | ||
| tool.mk | ||