IMAGE COMPRESSION: A DETAILED ANALYSIS