m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/imagemagick.md
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-08-08 22:46:10 -0700
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-08-08 22:46:10 -0700
commitecbe5aabea239584953baf4f379f79241d0ba7f2 (patch)
tree3d2be5fad4a899590bb0af711e29e3053bc16aff /imagemagick.md
parentb2418f0ae11a9b3b3e4f4c4460948315fd2bc40e (diff)
Add ImageMagick sheet
Diffstat (limited to 'imagemagick.md')
-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