IN_GetFormatExtension

image\bltlrgsq_shg.gif Editions  image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_GetFormatExtension function returns the file extension for the given format. Only file formats that Imagenation writes can be returned.

Syntax

int IN_GetFormatExtension( formatID, maxSize, pExt )

Input Parameters

Meaning

SHORT formatID

identifier of the file format. See File Format IDs.

SHORT maxSize

the maximum size in bytes of the pExt array

Output Parameters

Meaning

CHARPTR pExt

pointer to the file format extension. See File format extension.

Release information

Added to Imagenation for Windows in Release 4.42.

As of Release 5.1, also available in Imagenation for UNIX.

See also

Selecting file formats