-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from boretom/feature/add-height
Fit vertically/adjust to terminal height Closes #30
- Loading branch information
Showing
6 changed files
with
84 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,43 @@ | ||
.TH CATIMG "1" "January 2017" "catimg" "General Commands Manual" | ||
.TH CATIMG "1" "June 2020" "catimg" "General Commands Manual" | ||
|
||
.SH NAME | ||
catimg \- fast image printing in to your terminal | ||
|
||
.SH SYNOPSIS | ||
.B catimg | ||
[\fIoptions\fP] | ||
\fBimage\fP | ||
[\fB-hct\fP] [\fB-w width\fP | \fB-H height\fP] [\fB-l loops\fP] [\fB-r resolution\fP] image | ||
|
||
.SH DESCRIPTION | ||
.B catimg | ||
is a little program written in C with no dependencies that prints images in the terminal. It supports JPEG, PNG and GIF formats. | ||
|
||
.SH OPTIONS | ||
.TP | ||
\fB\-c\fR | ||
Coerce colors to a restricted palette. Allows terminals with limited color support to render a more accurate version of the image than if it was directly done by the terminal itself. | ||
.TP | ||
\fB\-h\fR | ||
Prints a help message | ||
.TP | ||
\fB\-w\fR WIDTH | ||
Specify the width of the displayed image, by default catimg will use the terminal width. | ||
\fB\-H\fR HEIGHT | ||
Specify the height of the displayed image, passing '0' will use terminal height. | ||
.TP | ||
\fB\-l\fR LOOPS | ||
Specify the amount of loops that catimg should repeat a GIF. A value of 1 means that the GIF will be displayed twice. A negative value implies infinity. | ||
.TP | ||
\fB\-r\fR RESOLUTION | ||
Possible values 1 or 2. Force the resolution of the image. By default catimg will check if rendering in higher resolution is possible and do so or use the lower one. | ||
.TP | ||
\fB\-c\fR | ||
Convert colors to a restricted palette. This is useful when terminal only support a limited set of colors. This transformation should be more accurate than the one performed by the terminal. | ||
.TP | ||
\fB\-t\fR | ||
Disables true color (24-bit) support, falling back to 256 color escape codes instead. | ||
.TP | ||
\fB\-w\fR WIDTH | ||
Specify the width of the displayed image. When not provided, catimg will use the terminal width. | ||
|
||
.SH BUGS | ||
Please report any bugs to https://github.com/posva/catimg/issues. | ||
|
||
.SH AUTHORS | ||
catimg was written by Eduardo San Martin Morote (https://github.com/posva) | ||
.LP | ||
This manual page was written by Jonathan Carter <jcarter@linux.com> and Eduardo San Martin Morote | ||
This manual page was written by Jonathan Carter <jcarter@linux.com>, Eduardo San Martin Morote and Thomas Kupper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters