4D v12.4PICTURE TYPE LIST |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v12.4
PICTURE TYPE LIST
|
PICTURE TYPE LIST ( formatArray {; nameArray} ) | ||||||||
Parameter | Type | Description | ||||||
formatArray | String array |
![]() |
QuickTime codes for the available import/export formats | |||||
nameArray | String array |
![]() |
Format names | |||||
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.
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 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.
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 |
Product: 4D
Theme: Pictures
Number:
681
Modified: 4D v11 SQL
BLOB TO PICTURE
PICTURE CODEC LIST
PICTURE TO BLOB
READ PICTURE FILE
WRITE PICTURE FILE