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

Swap Channels

IP Command Grooper.IP

Swaps the red and blue channels of an image, converting between RGB and BGR formats.

Remarks

The Swap Channels command is used to reorder the color channels of an image, specifically converting from RGB (red, green, blue) to BGR (blue, green, red) format or vice versa. This operation is often required when working with image formats or APIs that expect a specific channel order.

  • The command processes only 24-bit RGB images. Images in other pixel formats are not modified.
  • No properties are required to configure this command; it operates automatically on supported images.

Supported Pixel Formats

The Swap Channels command supports 24-bit RGB images (Pixel24bppBgr).

Usage Example

Use Swap Channels when you need to convert images between systems or libraries that use different channel orders, such as preparing images for display or export to file formats with BGR ordering.

Properties

NameTypeDescription

Used By

Notification