Compressing img a bit