You should be able to use:
// Compare layer 1 and layer 2
ImageEnView1.CurrentLayer := 1;
Eq := ImageEnView1.CompareWith( ImageEnView1.Layers[2].Bitmap, nil );
Though the transparency will not be taken into account.
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com