I have some
.jpeg images saved in a file in a cluster at school. I am at home using PuTTY to access one of the Debian nodes. I'm able to get to the folder with all the images but I need to see the dimensions of each one in order to run one more computation on them. Is there a way to do this?
In keeping with one of the fundamental rules of asking for help in computer programming, I should illustrate my ultimate goal. The objective was to take an input image and perform a singular value decomposition on it in order to see what happens as we truncate the image. With lower amounts of singular values used, the resulting images were blurry. I now need to determine the compression ratio for each image (ratio of output to input image file size). My intention was to look at the dimensions of each resulting image and divide the new width by original width and new height by original height. If anyone knows a better way to do this I'm all ears :)
Note: I do not have sudo privilege because it is a university computer, not my own.