im_LabQ2disp(3)

im_LabQ2disp3

Convert labq to display rgb quickly and badly

Usage

#include <vips/vips.h>

int im_LabQ2disp( IMAGE *in, IMAGE *out, struct im_col_display *d );

void *im_LabQ2disp_build_table( IMAGE *out, struct im_col_display *d );

int im_LabQ2disp_table( IMAGE *in, IMAGE *out, void *table );

Overview

These functions convert LabQ images to displayable RGB as quickly as possible.

im_LabQ2disp() converts in to out using the display profile d. It has to build a large lookup table, so takes a while to start.

im_LabQ2disp_build_table() is just the table-build phase of im_LabQ2disp(). It returns a handle to the built table (or NULL for error). The memory for the table is allocated local to out (ie is freed when out is closed).

im_LabQ2disp_table() converts in to out using the supplied table.

Return value

The functions return 0 on success and -1 on error.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. 5.0–6.0

Author

J. Cupitt - 21/7/97

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.