DL Logo

PDEImageJPX Typedefs

PDEImageJPX

Header: PEExpT.h:419

Description

A reference to a PDEImageJPX.

Syntax

typedef struct _t_PDEImageJPX *PDEImageJPX;

Returned From

Used By

PDEImageJPX Functions

PDEImageJPXAcquireColorSpace

Header: PERProcs.h:2796

Description

Acquires the PDEColorSpace associated with the JPX encoded image, if one exists. If a PDF color space has not been associated with the JPX encoded image, 0 will be returned. This object is acquired and must be released using PDERelease() when it is no longer in use.

Related Methods

Syntax

PDEColorSpace PDEImageJPXAcquireColorSpace(IN PDEImageJPX pdeImageJPX);

Parameters

pdeImageJPX
IN/OUT A JPX encoded image object.

Returns

A PDF colorspace associated with the JPX encoded image.

Exceptions

PDEImageJPXAcquireJPXColorSpace

Header: PERProcs.h:2839

Description

Acquires a link list of JPXColorSpace objects defined with the JPX encoded image. if one exists. This object is acquired and must be released using PDERelease() when it is no longer in use.

Syntax

JPXColorSpace PDEImageJPXAcquireJPXColorSpace(IN PDEImageJPX pdeImageJPX);

Parameters

pdeImageJPX
IN/OUT A JPX encoded image object.

Returns

A JPX colorspace associated with the JPX encoded image.

Exceptions

PDEImageJPXAcquirePalette

Header: PERProcs.h:2868

Description

Acquires the JPXPalette from the JPX image object This object is acquired and must be released using PDERelease() when it is no longer in use.

Syntax

JPXPalette PDEImageJPXAcquirePalette(IN PDEImageJPX pdeImageJPX);

Parameters

pdeImageJPX
IN/OUT A JPX encoded image object.

Returns

A JPX palette associated with the JPX encoded image.

Exceptions

PDEImageJPXGetAttrs

Header: PERProcs.h:2780

Description

Gets the attributes of a JPX encoded PDEImage.

Related Methods

Syntax

void PDEImageJPXGetAttrs(IN PDEImageJPX pdeImageJPX, OUT PDEImageJPXAttrsP attrsP, IN ASUns32 attrsSize);

Parameters

pdeImageJPX
IN/OUT A JPX encoded image object.
attrsP
IN/OUT (Filled by the method) A pointer to a PDEImageJPXAttrs structure containing the attributes of the JPX encoded image.
attrsSize
IN/OUT The size of the attrsP buffer in bytes.

Exceptions

PDEImageJPXGetCosObj

Header: PERProcs.h:2709

Description

Gets a Cos object for an image.

Syntax

void PDEImageJPXGetCosObj(IN PDEImageJPX pdeImageJPX, OUT CosObj *cosObjP);

Parameters

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

Exceptions

PDEImageJPXGetDataStm

Header: PERProcs.h:2811

Description

Returns a stream containing the image data. Color component values are interlaced. For images with greater then 8 bits per component, the component values occupy the least significant bits of a two byte value. Valid values of flags are 0.

Syntax

ASStm PDEImageJPXGetDataStm(IN PDEImageJPX pdeImageJPX, IN ASUns32 flags);

Parameters

pdeImageJPX
IN/OUT A JPX encoded image object.
flags
Unused.

Returns

The stream for the image.

Exceptions

PDEImageJPXGetNumColorSpaces

Header: PERProcs.h:2822

Description

Returns the number of JPX color spaces reference by the JPX encoded image.

Syntax

ASInt32 PDEImageJPXGetNumColorSpaces(IN PDEImageJPX pdeImageJPX);

Parameters

pdeImageJPX
IN/OUT A JPX encoded image object.

Returns

The number of JPX color spaces specified by the JPX encoded image.

Exceptions

PDEImageJPXHasPalette

Header: PERProcs.h:2851

Description

Returns true if the JPX encoded image has a JPX palette

Related Methods

Syntax

ASBool PDEImageJPXHasPalette(IN PDEImageJPX pdeImageJPX);

Parameters

pdeImageJPX
IN/OUT A JPX encoded image object.

Returns

true if the encoded JPX image contains a palette.

Exceptions