version 6.7
PICTURE TYPE LIST (formatArray{; nameArray})
Parameter | Type | Description | |
formatArray | String Array (4) | QuickTime codes for the available import/export | |
formats | |||
nameArray | String Array | Format 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 |
PICT | QuickDraw PICT |
PICS | PICS |
GIFf | GIF |
PNGf | PNG |
TIFF | TIFF |
8BPS | Photoshop (2.5 & 3.0) |
SGI | Silicon Graphics |
BMPf | BMP |
JPEG | JPEG |
JPEG | JFIF |
PNTG | MacPaint |
TPIC | TGA (Targa) |
qdgx | QuickDraw GX Picture (if QuickDraw GX is installed) |
qtif | QuickTime picture |
FPix | FlashPix |
See Also
BLOB TO PICTURE, PICTURE TO BLOB, READ PICTURE FILE, WRITE PICTURE FILE.