---
name: "pfsrotate"
section: "1"
platform: "linux"
package: "pfstools"
version: "2.2.0-9"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pfsrotate"
---

# pfsrotate(1)

Rotate images 90 degrees.

## NAME

pfsrotate - Rotate images 90 degrees.

## SYNOPSIS

**pfsrotate** \[--r\] \[--help\]

## DESCRIPTION

Use this command to rotate images from a stream of pfs. This command is useful for output on hardcopy devices with aspect ratios opposite to the input image. By default, the image is rotated clockwise. The --r option may be used to rotate the image counter-clockwise instead.

## OPTIONS

- \--r, -r

  Rotate the image counter-clockwise instead of clockwise.

## EXAMPLES

- pfsin memorial.hdr \| pfsrotate -r \| pfsout memorial\_gc.hdr

  Rotate memorial image 90 degrees counter-clockwise and save to memorial\_gc.hdr.

## NOTES

To rotate an image 180 degrees, use  [**pfsflip**(1)](/pfsflip/1.md) with both the --h and --v options specified.

## SEE ALSO

**[pfsin(1)](/pfsin/1.md)** **[pfsout(1)](/pfsout/1.md)** **[pfsflip(1)](/pfsflip/1.md)**

## BUGS

Please report bugs and comments to Alexander Efremov \<aefremov@mpi-sb.mpg.de\>.
