QPx_GetCodecList
QPx_GetCodecList(codecTypes; codecTypes):error | |||
---|---|---|---|
![]() |
codecTypes | Array text | Codec types |
![]() |
codecNames | Array text | Codec names |
![]() |
error | Longint | Error result |
Get the list of available codecs
The codecTypes and codecNames array parameters are populated with codec types and names.
The codec type, a 4-character string, is the primary identifier of the codec (ex. "jpeg"). It is used as a parameter to compression commands, in order to specify the component that will do the image compression.
The codec name is provided as text, suitable for presenting to end-users (e.g. "Photo - JPEG").
Example
ARRAY TEXT(gCodecTypes;0) ARRAY TEXT(gCodecNames;0) $err:=QPx_GetCodecList (gCodecTypes;gCodecNames)