Files
Drone-FabAcademy-2025/docs/bootcamp/imagemagick.md

16 lines
495 B
Markdown

# Commands
## Image compression
```bash
magick source.jpg -strip -interlace Plane -gaussian-blur 0.05 -quality 85% result.jpg
```
* Also resizes the image to 800 width
```bash
magick customising_mkdocs.jpg -strip -interlace Plane -gaussian-blur 0.05 -quality 85% -resize 800x customising_mkdocs.jpg
```
* [command source](https://stackoverflow.com/questions/7261855/recommendation-for-compressing-jpg-files-with-imagemagick)
* [image resizing](https://legacy.imagemagick.org/Usage/resize/)