Encode
Quality q
Defines the quality of the image. Use values between 0
and 100
. Defaults to 90
. Only relevant if the format is set to jpg
, pjpg
, webp
, avif
or heic
.
<img src="kayaks.jpg?w=500&q=25">
Format fm
Encodes the image to a specific format. Accepts jpg
, pjpg
(progressive jpeg), png
, gif
, webp
, avif
or heic
. Defaults to jpg
. heic
is only supported when using Imagick as driver.
<img src="kayaks.jpg?w=500&fm=gif">