DynaPDF Manual - Page 397

Previous Page 396   Index   Next Page 398

Function Reference
Page 397 of 860
Note that the range of a Lab color space consists only of four values because the L component has a
fixed range from 0 through 100.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
GetColorSpaceObjEx
Syntax:
LBOOL pdfGetColorSpaceObjEx(
const PPDF* IColorSpace,
// Pointer of a color space object
struct TPDFColorSpaceObj* CS) // Structure to be filled
The function retrieves the most important properties of a color space like GetColorSpaceObj() but
accepts a pointer of a color space object instead. See also GetColorSpaceObj().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
GetCompressionFilter
Syntax:
SI32 pdfGetCompressionFilter(
const PPDF* IPDF) // Instance pointer
typedef enum
{
cfFlate = 0,
cfJPEG
= 1,
cfJP2K
= 7
}TCompressionFilter;
The function returns the standard compression filter for images. Note that 1 bit images are always
compressed with Flate.
 

Previous topic: GetColorSpaceCount, GetColorSpaceObj

Next topic: GetCompressionLevel, GetContent