Does torchvision.utils.save_image do compression on save images?

is save_image lossless?

save_image uses the PIL.Image.save method as seen here, which supports these image formats.

1 Like