Fixed image format errors