PICTURE TYPE LIST

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11 (Modified)


PICTURE TYPE LIST (formatArray{; nameArray})

ParameterTypeDescription
formatArrayString Array (4)QuickTime codes for the available import/export
formats
nameArrayString ArrayFormat names

Compatibility Note: This command has been kept for compatibility reasons. However, it requires QuickTime and does not provide access to formats managed natively by 4D starting with version 11. It is thus of limited interest and can be replaced favorably by the PICTURE CODEC LIST command.

Description

The PICTURE TYPE LIST command fills the formatArray array with picture import/export QuickTime codes available on the machine where it is executed.

The optional parameter nameArray array gets each picture format name. Format names are easier to understand than their codes.

QuickTime (version 4 minimum) needs to be installed on the machine where the command is executed. Otherwise, formatArray contains the PICT format only.

PICTURE TYPE LIST can be used to check that some picture formats are available for a given database. This command is useful when some specific formats, not installed by default, are necessary (a QuickTime 4 feature).

The information gathered in the nameArray array allow to build and to display a pop up menu containing the available picture export formats.

QuickTime 4 Conversion Codes

Below is the standard conversion code list provided by QuickTime 4. Each code is composed of 4 characters. Please note that as QuickTime 4 allows adding customized conversion routines, not all machines offer the same codes.

QuickTime 4 Codes Names
PICTQuickDraw PICT
PICSPICS
GIFfGIF
PNGfPNG
TIFFTIFF
8BPSPhotoshop (2.5 & 3.0)
SGISilicon Graphics
BMPfBMP
JPEGJPEG
JPEGJFIF
PNTGMacPaint
TPICTGA (Targa)
qdgxQuickDraw GX Picture (if QuickDraw GX is installed)
qtifQuickTime picture
FPixFlashPix

See Also

BLOB TO PICTURE, PICTURE CODEC LIST, PICTURE TO BLOB, READ PICTURE FILE, WRITE PICTURE FILE.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next