SaikoTroid
Friday, June 24, 2011
Image width/height with Imagemagick in Command line
Imagemagick comes handy when you need information from an image.
# width
w=`identify -format "%w" image.png`
# height
h=`identify -format "%h" image.png`
More information on
Imagemagick's identify
.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment