LqrImageType
Prev | Types defined by the library | Next

## Name

LqrImageType — carver objects image type (colour model) specification

## Description

The `LqrCarver` objects use knowledge about the image type they're working on in order to compute correctly some quantities (e.g. the brightness) for the automatic feature detection. Image types are set automatically by the constructors, but they can also be specified manually using quantities of the type LqrImageType, which is an `enum` which can take these values:

- `LQR_GREY_IMAGE`
- `LQR_GREYA_IMAGE`
- `LQR_RGB_IMAGE`
- `LQR_RGBA_IMAGE`
- `LQR_CMY_IMAGE`
- `LQR_CMYK_IMAGE`
- `LQR_CMYKA_IMAGE`
- `LQR_CUSTOM_IMAGE`

Use the function `lqr_carver_set_image_type`(3) to set the image type of a carver, and the function `lqr_carver_get_image_type`(3) to read it out.

## See also

`lqr_carver_new`(3), `lqr_carver_set_image_type`(3), `lqr_carver_get_image_type`(3)

Prev | Up | Next
LqrColDepth | Home | Carver objects