summaryrefslogtreecommitdiff
path: root/notes/utils
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2018-12-05 12:00:15 +0100
committeradamhrv <adam@ahprojects.com>2018-12-05 12:00:15 +0100
commit90abf459d1df1f21960c1d653a1f936d1ec30256 (patch)
treefacab8e9bac6c56e69c369c2140cdbea218a01df /notes/utils
parent0529d4cd1618016319e995c37aa118bf8c2d501b (diff)
.
Diffstat (limited to 'notes/utils')
-rw-r--r--notes/utils/image_utils.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/notes/utils/image_utils.md b/notes/utils/image_utils.md
index 25dc200e..3ccc2e78 100644
--- a/notes/utils/image_utils.md
+++ b/notes/utils/image_utils.md
@@ -104,6 +104,14 @@ do
done
```
+Get the size of a JPG
+
+`convert photo.jpg -print "Size: %wx%h\n" /dev/null`
+
+Get the size of a PSD
+
+`convert website-design.psd -print "Size: %wx%h\n" /dev/null`
+
## Animate GIFs
With ImageMagick