4D v16.3GET PICTURE FORMATS |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
GET PICTURE FORMATS
GET PICTURE FORMATS
The GET PICTURE FORMATS command returns an array of all the codec IDs (picture formats) contained in the picture passed as parameter. A 4D picture (field or variable) can contain the same picture encoded in different formats, such as PNG, BMP, GIF, etc. In the picture parameter, you pass a picture field or a picture variable whose included formats you want to be returned in the codecIDs array. The codec IDs returned are established by 4D in exactly the same way as for the PICTURE CODEC LIST command. They can be returned in the following forms:
Notes:
For more information about picture codec IDs, refer to the Pictures section. You want to know the picture formats stored in a field for the current record: ARRAY TEXT($aTPictureFormats;0)
See also
|
PROPERTIES
Product: 4D HISTORY
ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||