Declaration
function EncoderInfo(FileType: TIOFileType; out FriendlyName: string; out GUID: TGuid; out Extensions: string; out Version: string; out Author: string): Boolean;
Description
Returns details of the encoder used for the specified format. Result is False if there is no encoder for this format
Note:
◼Only returns results for Microsoft native supported formats
◼Out parameters will not be valid unless result is True
Example
var
wicWrite: TIEWICWriter;
FriendlyName: string;
GUID: TGuid;
Extensions: string;
Version: string;
Author: string;
begin
wicWrite := TIEWICWriter.Create();
try
if wicWrite.EncoderInfo( ioJPEG, FriendlyName, GUID, Extensions, Version, Author) then
ShowMessage( FriendlyName + ': ' + Extensions );
finally
wicWrite.Free();
end;
end;
See Also
◼IEWICFormatSupported
◼DecoderInfo
◼IEWICEnumerateCodecs