Grooper Help - Version 25.0
25.0.0023 2,165
  • Overview
  • Help Status

Mirror

IP Command Grooper.IP

Mirrors an image along the specified axis, producing a horizontally, vertically, or doubly mirrored result.

Remarks

The Mirror command creates a mirror image of the input by flipping it along the selected axis. This is useful for correcting images that were scanned or photographed in reverse, for preparing images for double-sided printing, or for any scenario where a mirrored version of the image is required.

How Mirror Works

  • The command supports three mirroring modes, controlled by the 'Axis' property:

    • Horizontal: Flips the image around a horizontal line through its center, producing an upside-down result.
    • Vertical: Flips the image around a vertical line through its center, producing a left-right mirror (like a physical mirror).
    • Both: Flips the image around both axes, equivalent to a 180° rotation.
  • The operation is performed in-place and supports all common pixel formats, including binary, grayscale, color, and images with alpha channels.

Supported Pixel Formats

All pixel formats are supported, including:

  • Pixel1bppIndexed
  • Pixel8bppGrayscale
  • Pixel8bppIndexed
  • Pixel24bppBgr
  • Pixel32bppBgr
  • Pixel32bppBgra
  • Pixel32bppCmyk
  • Pixel16bppGrayscale
  • Pixel16bppGrayscaleAlpha

Configuration and Usage

  • Set the 'Axis' property to control the direction of mirroring.
  • Use this command in an IP Profile or as part of a processing pipeline to correct orientation or create mirrored images for special applications.
  • No additional configuration is required; the operation is fast and lossless.

Diagnostics

The Mirror command does not generate diagnostic images or logs, as the operation is deterministic and visually verifiable.

Properties

NameTypeDescription
General
Command Info

Used By

Notification