36 lines
1.3 KiB
Groff
36 lines
1.3 KiB
Groff
|
.\" Automatically generated by image-trans -write-bam
|
||
|
.TH IMAGE-TRANS 1 "27 December 2014" "1.9.0" Panda3D
|
||
|
.SH NAME
|
||
|
image-trans \- apply transformations to an image file
|
||
|
.SH SYNOPSIS
|
||
|
\fBimage-trans\fR [opts] inputimage outputimage
|
||
|
.br
|
||
|
\fBimage-trans\fR [opts] -o outputimage inputimage
|
||
|
.SH DESCRIPTION
|
||
|
This program reads an image file and writes a similar image file to the output. It can implicitly convert from one image file format to another; it uses the extension of the output filename to specify the destination file format.
|
||
|
.SH OPTIONS
|
||
|
.TP
|
||
|
.BI "\-o " "filename"
|
||
|
Specify the filename to which the resulting image file will be written. If this option is omitted, the last parameter name is taken to be the name of the output file.
|
||
|
.TP
|
||
|
.BI "\-chan " "channels"
|
||
|
Elevate (or truncate) the image to the indicated number of channels. This may be 1, 2, 3, or 4. You may also specify one of the keywords l, la, rgb, or rgba, respectively, or any of the keywords r, g, b, or a to extract out just the indicated channel as a single grayscale image.
|
||
|
.TP
|
||
|
.BI "\-cscale " "r,g,b[,a]"
|
||
|
Apply the indicated color scale to each pixel of the image.
|
||
|
.TP
|
||
|
.B \-flip
|
||
|
Flip the image vertically.
|
||
|
.TP
|
||
|
.B \-mirror
|
||
|
Reverse the image horizontally.
|
||
|
.TP
|
||
|
.B \-cw
|
||
|
Rotate the image 90 degrees clockwise.
|
||
|
.TP
|
||
|
.B \-ccw
|
||
|
Rotate the image 90 degrees counter-clockwise.
|
||
|
.TP
|
||
|
.B \-h
|
||
|
Display this help page.
|