WebP is a relatively new image format developed by Google. It is pronounced “weppy.”
Simply converting a standard JPG or PNG image to WebP can reduce its file size by around 20% to 30%.
Below is an example of converting the original image in PNG format to WebP format by appending ?fm=webp.
▼URL
https://images.microcms-assets.io/assets/d6af1616730544a596d299c20834f460/0b33104ab3fd2ba2d6b12e8ef25734de/sample-02.png?fm=webp

Converts images to AVIF format.
AVIF is a new image format developed by a consortium of companies that includes Google, Amazon, and Netflix.
It offers higher compression rates than WebP, but as a newer format, it may not be supported by older browser versions.
Below is an example of converting the original image in PNG format to AVIF format by appending ?fm=avif.
▼URL
https://images.microcms-assets.io/assets/d6af1616730544a596d299c20834f460/0b33104ab3fd2ba2d6b12e8ef25734de/sample-02.png?fm=avif

Retrieves the metadata of the image.
Example) ?fm=json
{
"Content-Type": "image/png",
"Output": {},
"ColorModel": "RGB",
"Content-Length": "104152",
"Depth": 8,
"PNG": {
"InterlaceType": 0,
"sRGBIntent": 0,
"Gamma": 0.45455,
"Chromaticities": [
0.3127,
0.329,
0.64,
0.33,
0.3,
0.6,
0.15,
0.06
]
},
"PixelHeight": 300,
"PixelWidth": 600,
"ProfileName": "sRGB IEC61966-2.1"
}