GetCelBitsPerPixel

Returns a cel's bits per pixel value.

Synopsis

int32 GetCelBitsPerPixel (CCB *cel)

Description

Returns the bits-per-pixel value for the cel, determined by examining the cel's preamble data.

This function exists primarily to support library internals, but may be useful for applications as well.

Arguments

cel
Pointer to a cel.

Return Value

Bits per pixel, one of 1, 2, 4, 6, 8, or 16.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h