COmpression test for images