---
name: "im_LabQ2disp_table"
section: "3"
platform: "linux"
package: "libvips-dev"
version: "7.20.7-1+b3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/im_LabQ2disp"
---

# im\_LabQ2disp\_table(3)

convert LabQ to display rgb quickly and badly

Part of [im\_LabQ2disp(3)](/im_LabQ2disp/3.md).

## NAME

im\_LabQ2disp, im\_LabQ2disp\_build\_table, im\_LabQ2disp\_table - convert LabQ to display rgb quickly and badly

## SYNOPSIS

\#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 );

## DESCRIPTION

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.

## SEE ALSO

[im\_LabQ2Lab(3)](/im_LabQ2Lab/3.md), [im\_Lab2XYZ(3)](/im_Lab2XYZ/3.md), [im\_XYZ2disp(3)](/im_XYZ2disp/3.md)

## COPYRIGHT

National Gallery, 1990 - 1997

## AUTHOR

J. Cupitt - 21/7/97
