Convert image to WebP format. WebP is designed for the web with its smaller size which makes web pages loading faster without losing images quality.
ffmpeg -i input_image.png -c:v libwebp output_image.webp