Poster of Linux kernelThe best gift for a Linux geek
IM_LABQ2DISP

IM_LABQ2DISP

Section: C Library Functions (3) Updated: 2 Decemder 1997
Local index Up
 

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_Lab2XYZ(3), im_XYZ2disp(3)  

COPYRIGHT

National Gallery, 1990 - 1997  

AUTHOR

J. Cupitt - 21/7/97


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
COPYRIGHT
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:48:21 GMT, April 16, 2011