DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA: Command Line DPI Extract  (Read 5,350 times)

romulous

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 3
IDEA: Command Line DPI Extract
« on: June 11, 2006, 11:43 AM »
Hi,

I've been looking for a utility to extract the DPI information from image files. A command line utility (so I can batch extract from a large number of image files in a number of sub-folders), no installer (no admin rights on the PC I want to run it on), supports TIFF format, fits on a floppy disk (no other way to get it to this PC), and outputs DPI to a text file. It also must run on Windows NT as a minimum. I know IrfanView has a command line /info switch that includes DPI, but IrfanView has a bug that prevents it working in this case. IrfanView can open the images through the GUI, but if you try and process them through the command line, it gives a "can't read file header" message. Apart from IrfanView, I know of no other utilities that can do this. So, if anyone here could write such a utility, that would be fantastic.

Regards,

CM
« Last Edit: June 11, 2006, 11:45 AM by romulous »

Original address: https://www.donationcoder.com/forum/index.php?topic=3993.0