ImageEn, unit iexBitmaps

TIEMultiBitmap.RemoveDuplicates

TIEMultiBitmap.RemoveDuplicates

Declaration

function RemoveDuplicates(): Integer;

Description

Locate images with duplicate content in the TIEMultiBitmap and remove other instances (using an MD5 Hash).
Returns the number of removed pages.

Examples

// Ensure there are no duplicate images in our TIEMultiBitmap after filling it from a folder
MBitmap.Clear();
MBitmap.FillFromDirectory('C:\Images');
MBitmap.RemoveDuplicates();

See Also

IndexOf
ImageHash