mirror of
https://gitlab.waag.org/make/fablab/interns/2025/sam.git
synced 2025-08-04 04:14:56 +00:00
16 lines
495 B
Markdown
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/)
|
|
|