![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ledger.corals.io/vendor/league/glide/docs/1.0/api/ |
--- layout: default title: Encode --- # 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` or `pjpg`. ~~~ html <img src="kayaks.jpg?w=500&q=25"> ~~~ [](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&q=25) ## Format `fm` Encodes the image to a specific format. Accepts `jpg`, `pjpg` (progressive jpeg), `png`, `gif` or `webp`. Defaults to `jpg`. ~~~ html <img src="kayaks.jpg?w=500&fm=gif"> ~~~ [](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&fm=gif)