Made image compression changes