Declaration
function Equals(MBitmap: TIEMultiBitmap): Boolean;
Description
Returns true if all images in two TIEMultiBitmaps are identical.
Equals compares the
Hashes of all images.
Note: This method does not consider the
AlphaChannel of images
// Compare two multi-page tiff files
mbmp1 := TIEMultiBitmap.Create( 'D:\Documents\Image1.tif' );
mbmp2 := TIEMultiBitmap.Create( 'D:\Documents\Image2.tif' );
if mbmp1.Equals( mbmp2 ) then
ShowMessage( 'Images are identical' )
else
ShowMessage( 'Images are different' );
mbmp1.Free();
mbmp2.Free();
See Also
◼ComputeImageEquality
◼CompareWith
◼CompareHistogramWith