correct compressed image