1
Post New Requests Here / IDEA: Command Line DPI Extract
« on: June 11, 2006, 06: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
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