Sort jpgs by pixel count

  • Thread starter Thread starter Ralph
  • Start date Start date
R

Ralph

Is there a way to display/sort jpg's by pixel count and store the output?
ie sort by width or height.

Explorer in XP can display jpgs sorted by dimension. Can this be exported to
a file somehow or a program to do something similar?

XPs DIR command does not appear to display image dimensions.
Thanks.
 
Is there a way to display/sort jpg's by pixel count and store the output?
ie sort by width or height.

IrfanView can:
Command line options for IrfanView

Examples for /info:
one file 'c:\test.jpg' :
i_view32.exe c:\test.jpg /info=c:\test.txt
many '*.jpg' files:
i_view32.exe c:\*.jpg /info=c:\jpgs.txt

Example of info for one file:
[20041031_000000.jpg]
File name = 20041031_000000.jpg
Directory = E:\_\medium\
Compression = JPEG
Resolution = 200 x 200 DPI
Image dimensions = 700 x 363 Pixels
Print size = 8.9 x 4.6 cm; 3.5 x 1.8 inches
Color depth = 16,7 Millions (24 BitsPerPixel)
Number of unique colors = 18881
Disk size = 65.25 KB (66,818 Bytes)
Current memory size = 744.47 KB (762,340 Bytes)
File date/time = 2004-12-12 / 10:59:22

Regards
Thorkild Dalsgaard
 
Thanks Thorkild, that works great.

--
remove n u m b e r s to reply
Thorkild Dalsgaard wrote in message
Is there a way to display/sort jpg's by pixel count and store the output?
ie sort by width or height.

IrfanView can:
Command line options for IrfanView

Examples for /info:
one file 'c:\test.jpg' :
i_view32.exe c:\test.jpg /info=c:\test.txt
many '*.jpg' files:
i_view32.exe c:\*.jpg /info=c:\jpgs.txt

Example of info for one file:
[20041031_000000.jpg]
File name = 20041031_000000.jpg
Directory = E:\_\medium\
Compression = JPEG
Resolution = 200 x 200 DPI
Image dimensions = 700 x 363 Pixels
Print size = 8.9 x 4.6 cm; 3.5 x 1.8 inches
Color depth = 16,7 Millions (24 BitsPerPixel)
Number of unique colors = 18881
Disk size = 65.25 KB (66,818 Bytes)
Current memory size = 744.47 KB (762,340 Bytes)
File date/time = 2004-12-12 / 10:59:22

Regards
Thorkild Dalsgaard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top