PICTURE CODEC LIST

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

version 11


PICTURE CODEC LIST (codecArray{; namesArray})

ParameterTypeDescription
codecArrayString arrayIDs of available picture Codecs
namesArrayString arrayNames of picture Codecx

Description

The PICTURE CODEC LIST command fills the codecArray array with the list of picture Codec IDs that are available on the machine where it is executed. This list includes both the Codec IDs of picture formats that are managed natively by 4D v11 (see below) as well as the IDs of any additional QuickTime Codecs that are installed on the machine (see the Pictures section).

These IDs can be passed in the format parameter for the WRITE PICTURE FILE and PICTURE TO BLOB commands that are used for exporting pictures

The Codec IDs can be returned in the codecArray array in three different forms:

As an extension (for example, ".gif")

As a Mime type (for example, "image/jpeg")

As a 4-character QuickTime code (for example, "PNTG")

The form returned by the command will depend on the way the Codec is recorded at the operating system level. The optional namesArray array can be used to retrieve the name of each Codec. These names are more explicit than the IDs. This array can be used, for example, to build and display a menu listing the available Codecs.

See Also

PICTURE TYPE LIST, Pictures.


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