Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_squeeze_range(3) — Solaris 2.4 x86 SDK

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_lookup(3)

xil_squeeze_range(3)

NAME

xil_squeeze_range − produce a lookup table that will map an image into contiguous entries

SYNOPSIS

#include <xil/xil.h>
XilLookup xil_squeeze_range ( XilImage src);

DESCRIPTION

This function examines the source image, src, and produces a lookup table that will map src into an image with contiguous entries.  src must be a single-banded image. Both src and the image’s colormap must be passed through the resulting lookup table for it to be displayed correctly. 

RETURN VALUES

NULL if function fails

ERRORS

For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide. 

EXAMPLES

Produce a lookup table that will map an image into continuous entries:

XilLookup result_lut;
XilImage src;
result_lut = xil_squeeze_range(src);

SEE ALSO

xil_lookup(3)

SunOS   —  Last change: 16 June 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026