NAME

rotate - rotates an image

SYNOPSIS

rotate file [rot=] [inverse] [fill=] [outfile=]

DESCRIPTION

Rotates each pixel value in the given file by the position angle specified (in degrees) by the rot parameter. Any pixels shifted out of the image are discarded, and vacated pixels are set to zero or the value set by the fill keyword. The program uses a bilinear interpolation algorithm.

The rotated image overwrites the image by default unless the outfile option is specified.

If the image rotation is near +/- 90 degrees the number of rows and columns are flipped.

The WCS coordinates if present are adjusted.

OPTIONS

rot= sets the rotate angle in degrees. The default value is 0.0.

fill= sets the ADU value of the pixels that are brought into the new image. The default value is 0.

inverse - changes the sign of the rotation angle.


XVista index