ImageEn, unit iexBitmaps

IEFindNumberWithKnownFormat


Declaration

function IEFindNumberWithKnownFormat(const Directory: WideString; bIncludeVideoFiles: Boolean = True): integer;


Description

Returns the number of images or vides in a specified folder that are of a format supported by ImageEn.
Set bIncludeVideoFiles to false to only include images.

Note: This method only checks that file extension is recognized (e.g. .JPEG of image.jpeg).


Example

// Count the number of supported images in C:\Images
num := IEFindNumberWithKnownFormat( 'C:\Images', False );


See Also

IsKnownFormat