Skip to content

Commit

Permalink
docs: more explanation of --no-preserve-aspect-ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
eddieantonio committed Dec 18, 2023
1 parent 0419255 commit e4dfb67
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.2
2.6.0
10 changes: 8 additions & 2 deletions docs/imgcat.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -135,4 +141,4 @@ See GitHub Issues: <https://github.com/eddieantonio/imgcat/issues>

# AUTHOR

**imgcat** was written by Eddie Antonio Santos <https://eddieantonio.ca/>.
**imgcat** was written by Eddie Antonio Santos <https://eddieantonio.ca/> and contributors.

0 comments on commit e4dfb67

Please sign in to comment.