summaryrefslogtreecommitdiff
path: root/notes/utils/image_utils.md
diff options
context:
space:
mode:
Diffstat (limited to 'notes/utils/image_utils.md')
-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