Fixed image compression mistakes