summaryrefslogtreecommitdiff
path: root/notes/utils/image_utils.md
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-12-05 22:20:06 +0100
committerJules Laplace <julescarbon@gmail.com>2018-12-05 22:20:06 +0100
commitb235f8912f3b3d1d8bfdc7e387e4267952b6d1f9 (patch)
tree9734d1d3b3f618195452c1170b33ac86aaa559e7 /notes/utils/image_utils.md
parent03ed12b471c1e50ae531c46fcbf5afd06ca5432b (diff)
parent90abf459d1df1f21960c1d653a1f936d1ec30256 (diff)
merge
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