m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--imagemagick.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/imagemagick.md b/imagemagick.md
index e2828ad..f4783df 100644
--- a/imagemagick.md
+++ b/imagemagick.md
@@ -14,6 +14,12 @@ Force resize to be exactly the given geometry with `!`
convert in.jpg --resize 720x720\! out.jpg
+## Compress
+
+### JPG
+
+convert -strip -interlace Plane -gaussian-blur 0.05 -quality 85% source.jpg result.jpg
+
## Convert PDF
PDFs can be converted to images. Set `-density XxY` for better resolution.