in reply to compare 2 bitmap files in unix

Please provide more information in the future.
How not to ask questions
If you want to perform a binary/text comparison, use
diff
If you want to compare pixels use
compare