Description of Problem: This may be a royal PITA, but if it's in the header info like I think it is, could we get the dimensions into the output of file? Version-Release number of selected component (if applicable): file-3.35-2 Actual Results: jmm@bp6:/home/jmm> file /tmp/cat.jpg /tmp/cat.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, 1 x 1 Expected Results: just something that has the dimensions of the image if possible
Patches accepted :)
I did an rpm -ql ImageMagick|grep bin and noticed "identify" which seems to handle this fine. NOTABUG for this is fine by me, but the code should be easy to paste from IM src if you think it's still something file should do. either's cool with me, now that I know the proverbial right tool for the job :) jmm@bp6:/var/www/html/pics/albums/first-snow-2002> identify first-snow_01.jpg first-snow_01.jpg JPEG 1280x960 DirectClass 8-bit 304kb 0.6u 0:01
never was really worth it - no need to complicate file when it's not really the "right tool for the job"