Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Color Spaces » Rgb888ToRgb555

Rgb888ToRgb555
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Converts a RGB888 image into a RGB555 one.
Applications: Compression of pixel depth from 3 to 2 bytes.
Syntax
C++
C#
void fil::Rgb888ToRgb555 ( const fil::Image& inRgb888Image, fil::Image& outRgb555Image )
Parameters
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
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Not a 3-channel and 8-bit image in Rgb888ToRgb555. |
DomainError | Not supported inRgb888Image pixel format in Rgb888ToRgb555. Supported formats: 3xUInt8. |