m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--imagemagick.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/imagemagick.md b/imagemagick.md
new file mode 100644
index 0000000..57261e9
--- /dev/null
+++ b/imagemagick.md
@@ -0,0 +1,23 @@
+# Manipulating images!
+
+## Simple format conversion
+
+ convert in.jpg out.png
+
+## Resize
+
+Fits image within given geometry, keeping the aspect ratio!
+
+ convert in.jpg -resize 720x720 out.jpg
+
+Force resize to be exactly the given geometry with `!`
+
+ convert in.jpg --resize 720x720\! out.jpg
+
+## Options with enum arguments
+
+List possible option values
+
+ convert -list <option>
+ # e.g.
+ convert -list dither