PICTURE TYPE LIST

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.7


PICTURE TYPE LIST (formatArray{; nameArray})

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

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 TO BLOB, READ PICTURE FILE, WRITE PICTURE FILE.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next