---
name: "invert_raw_image"
section: "1"
platform: "linux"
package: "minc-tools"
version: "2.3.00+dfsg-12"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/invert_raw_image"
---

# invert\_raw\_image(1)

invert 2D image along either or both axes

## NAME

invert\_raw\_image - invert 2D image along either or both axes

## SYNOPSIS

**invert\_raw\_image** **xsize** **xsize** **\[bytesperpixel\]**

## DESCRIPTION

**invert\_raw\_image** reads an image from standard input and copies it to standard output, inverting along either or both dimensions according  to the arguments.

The parameter  **xsize** specifies the number of pixels in the x-direction.  Use a negative number to flip the image along this axis.  Ditto for  **ysize.** The number of bytes per pixel defaults to 1 if not specified.
