Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Resize

IP Command Grooper.IP

Resizes an image using a variety of sizing methods and interpolation modes.

Remarks

The Resize command transforms the dimensions and/or resolution of an image, supporting a range of use cases from standardizing DPI to generating thumbnails or correcting aspect ratios. The behavior is controlled by the 'Sizing Method' property, which determines how the new size is calculated.

How Resize Works

  • The command can scale images by a percentage, match a target resolution, change only the resolution metadata, resize to a custom size, or normalize the aspect ratio and resolution.
  • The 'Interpolation Mode' property controls the quality and speed of the resize operation, with options for linear, cubic, nearest neighbor, super sampling, lanczos, or automatic selection.
  • Enabling 'AntiAlias' can improve visual quality, especially when reducing image size. For black and white images, enabling anti-aliasing will convert the output to grayscale.

Supported Pixel Formats

The Resize command supports all pixel formats handled by the underlying imaging engine, including:

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

Configuration and Usage

  • Use 'Scale Factor' to proportionally enlarge or reduce images.
  • Use 'Target Resolution' or 'Change Resolution Only' to standardize DPI for OCR or print workflows.
  • Use 'Custom Size' to generate fixed-size images, such as thumbnails or previews.
  • Use 'Normalize' to correct images with inconsistent or corrupt resolution values.
  • Select the appropriate 'Interpolation Mode' for your quality and performance needs.
  • Enable 'AntiAlias' for smoother results, especially when downscaling.

Example Scenarios

  • Standardizing scanned documents to 300 DPI for OCR.
  • Creating fixed-size thumbnails for document previews.
  • Repairing images with non-square pixels or missing resolution metadata.

Properties

NameTypeDescription
General
Command Info

See Also

Used By

Notification