Preparing images for publishing to the internet
Describing how to strip metadata from images and convert them to a web-firendly format.
Removing metadata
Every image I post on my websites should contain as few data as possible. To minimize the data, I remove the metadata from every image. I do this with the following command:
Converting image to webp for smaller size
Since some of my images are quite large, they take long to load on slow connections. Thus I convert them to webp, which is optimized for the web. To convert an image use the following command: