1IM_LABQ2DISP(3) Library Functions Manual IM_LABQ2DISP(3)
2
3
4
6 im_LabQ2disp, im_LabQ2disp_build_table, im_LabQ2disp_table - convert
7 LabQ to display rgb quickly and badly
8
10 #include <vips/vips.h>
11 #include <vips/colour.h>
12
13 int im_LabQ2disp( IMAGE *in, IMAGE *out, struct im_col_display *d );
14
15 void *im_LabQ2disp_build_table( IMAGE *out, struct im_col_display *d );
16
17 int im_LabQ2disp_table( IMAGE *in, IMAGE *out, void *table );
18
19
21 These functions convert LabQ images to displayable RGB as quickly as
22 possible.
23
24 im_LabQ2disp() converts in to out using the display profile d. It has
25 to build a large lookup table, so takes a while to start.
26
27 im_LabQ2disp_build_table() is just the table-build phase of
28 im_LabQ2disp(). It returns a handle to the built table (or NULL for
29 error). The memory for the table is allocated local to out (ie is freed
30 when out is closed).
31
32 im_LabQ2disp_table() converts in to out using the supplied table.
33
34
36 The functions return 0 on success and -1 on error.
37
39 im_LabQ2Lab(3), im_Lab2XYZ(3), im_XYZ2disp(3)
40
42 National Gallery, 1990 - 1997
43
45 J. Cupitt - 21/7/97
46
47
48
49 2 Decemder 1997 IM_LABQ2DISP(3)