From 90abf459d1df1f21960c1d653a1f936d1ec30256 Mon Sep 17 00:00:00 2001 From: adamhrv Date: Wed, 5 Dec 2018 12:00:15 +0100 Subject: . --- notes/utils/image_utils.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'notes') 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 -- cgit v1.2.3-70-g09d2