PictUtil_GetImageFormats¶
→ | picture |
Picture | The 4D picture. |
← | imageFormats |
Array text | The formats of the images. |
Return the formats of the image representations stored in a 4D picture.
The picture
parameter is the 4D picture to be examined.
The imageFormats
array receives the formats of image representations present in the
4D picture. Each element in the array is the format ID of the corresponding image representation.
If the format of a particular image representation is not supported by Q2Pix, the array element
will be empty.
This plug-in method is similar to the PICTURE CODEC LIST 4Dv16 command, but instead of
returning Codec ID’s in the form of filename extensions or MIME types it returns the ID’s
of the image formats as defined by Q2Pix. To retrieve a list of the format ID’s supported
by Q2Pix, use the ImgFormat_GetList
plug-in method.