DL Logo

PDEImageFlate Functions

PDEImageFlateAcquireColorSpace

Header: PERProcs.h:2747

Description

Acquires the color space of the flate image. PDERelease should be used to release the color space when it is no longer referenced by the caller.

Syntax

PDEColorSpace PDEImageFlateAcquireColorSpace(IN PDEImageFlate imgFlate);

Parameters

imgFlate
IN/OUT An object of type PDEImageFlate.

Returns

The color space of the flate image; otherwise it returns NULL.

PDEImageFlateGetAttrs

Header: PERProcs.h:2734

Description

Gets the attributes of a flate image.

Syntax

void PDEImageFlateGetAttrs(IN PDEImageFlate imgFlate, OUT PDEImageFlateAttrsP attrsP, IN ASUns32 attrsSize);

Parameters

imgFlate
IN/OUT A flate image resource object.
attrsP
IN/OUT (Filled by the method) A pointer to a PDEImageFlateAttrs structure containing the attributes of the flate image.
attrsSize
IN/OUT The size of the attrsP buffer in bytes.

Exceptions

PDEImageFlateGetCosObj

Header: PERProcs.h:2722

Description

Gets a Cos object for an image.

Syntax

void PDEImageFlateGetCosObj(IN PDEImageFlate pdeImageFlate, OUT CosObj *cosObjP);

Parameters

pdeImageFlate
IN/OUT The flate image whose Cos object is obtained.
cosObjP
IN/OUT (Filled by the method) The Cos object for the image.

Exceptions

PDEImageFlateGetDataStm

Header: PERProcs.h:2766

Description

Gets a data stream for a flate compressed image, PDEImageFlate object.

The caller must dispose of the returned ASStm by calling ASStmClose().

Syntax

ASStm PDEImageFlateGetDataStm(IN PDEImageFlate imgFlate, IN ASUns32 flags);

Parameters

imgFlate
IN/OUT The flate image whose data stream is obtained.
flags
IN/OUT PDEImageDataFlags flags. If the kPDEImageEncodedData flag is set, data is returned in encoded form. Otherwise, data is decoded.

Returns

The stream for the image.

Exceptions