Back to FabImage Studio website

You are here: Start » Filter Reference » Image » Image Color Spaces » Rgb888ToRgb565

Rgb888ToRgb565


Module: FoundationBasic

Converts a RGB888 image into a RGB565 one.

Applications

Compression of pixel depth from 3 to 2 bytes.
Name Type Description
Input value inRgb888Image Image
Output value outRgb565Image Image

Requirements

For input inRgb888Image only pixel formats are supported: 3⨯uint8.

Read more about pixel formats in Image documentation.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not a 3-channel and 8-bit image in Rgb888ToRgb565.
DomainError Not supported inRgb888Image pixel format in Rgb888ToRgb565. Supported formats: 3xUInt8.

Complexity Level

This filter is available on Expert Complexity Level.