Hello there,
I have a quick question regarding how to list all images and their dimensions (width and height) in a directory.
I need to read and ideally write to a text file all image file names with the dimensions to be used in a XML document.
I only need to read .png, .jpg and .gif files from the folder.
I have tried using the DOS dir command without success as it can only list file names but not image resolution information, which I happen to need for my current project.
Thank you in advance for your help.
I have a quick question regarding how to list all images and their dimensions (width and height) in a directory.
I need to read and ideally write to a text file all image file names with the dimensions to be used in a XML document.
I only need to read .png, .jpg and .gif files from the folder.
I have tried using the DOS dir command without success as it can only list file names but not image resolution information, which I happen to need for my current project.
Thank you in advance for your help.