summaryrefslogtreecommitdiff
path: root/notes/utils
diff options
context:
space:
mode:
authorAdam Harvey <adam@ahprojects.com>2018-12-23 01:37:03 +0100
committerAdam Harvey <adam@ahprojects.com>2018-12-23 01:37:03 +0100
commit4452e02e8b04f3476273574a875bb60cfbb4568b (patch)
tree3ffa44f9621b736250a8b94da14a187dc785c2fe /notes/utils
parent2a65f7a157bd4bace970cef73529867b0e0a374d (diff)
parent5340bee951c18910fd764241945f1f136b5a22b4 (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