You can batch convert image files with Python. One of the newer image formats is webp. WebP is an image format employing both lossy and lossless compression.

In theory, this image format is smaller than others. You can convert images in a directory with the python script below

Source: Batch convert images to webp format – DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Was this post helpful?