| Refresh | Home EGTry.com

get image file size



to find the default info of an image file

 identify help2.png

Output

help2.jpg JPEG 48x48 48x48+0+0 8-bit DirectClass 1.05KB 0.000u 0:00.000



to find the specific information

 identify -format "file=%f, size=%b, width=%w, height=%h" help2.jpg

Output

file=help2.jpg, size=1054B, width=48, height=48