From e4dfb6732133444df52f217e1a5b3b506538dcd9 Mon Sep 17 00:00:00 2001 From: Eddie Antonio Santos Date: Mon, 18 Dec 2023 13:35:03 +0000 Subject: [PATCH] docs: more explanation of --no-preserve-aspect-ratio --- Makefile | 2 +- VERSION | 2 +- docs/imgcat.1.md | 10 ++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 325b64f..f4afaf6 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,7 @@ DEPS = $(OBJS:.o=.d) all: $(BIN) $(MAN) clean: - $(RM) $(BIN) $(OBJS) + $(RM) $(BIN) $(OBJS) $(DEPS) clean-all: clean $(RM) $(GENERATED_FILES) diff --git a/VERSION b/VERSION index f225a78..e70b452 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.5.2 +2.6.0 diff --git a/docs/imgcat.1.md b/docs/imgcat.1.md index 6c6a998..3cf2a0b 100644 --- a/docs/imgcat.1.md +++ b/docs/imgcat.1.md @@ -70,7 +70,13 @@ you're having a problem with this. aspect ratio if **--width** is NOT provided. **-P**, **--no-preserve-aspect-ratio** - ~ Does not preserve aspect ratio during image resizing. + ~ Allows for arbitrary image resizing when specifying both `--width` + and `--height`. By default, if both `--width` and `--height` are + provided, the image's aspect ratio is preserved (it does not get + stretched in any direction), and the `--width` and `--height` specify + the maximum amount of characters that the image be resized to. If you + provide `--no-preserve-aspect-ratio`, then `--width` and `--height` + are exact dimensions, and the image might be squished accordingly. **-R**, **--no-resize** ~ Does not resize the image to fit the terminal's width. Overrides @@ -135,4 +141,4 @@ See GitHub Issues: # AUTHOR -**imgcat** was written by Eddie Antonio Santos . +**imgcat** was written by Eddie Antonio Santos and contributors.