Random question, sorry if not appropriate for stackoverflow, but I didn’t think it would be suitable for the graphic design site.
I have three websites for which I need to make a spreadsheet of all the images and their dimensions – which there are a lot of. Is there any software/generator etc that can do this in bulk and automatically? If not, it is going to be a long and painful day!
Get all images from the website(s) in question. Using wget:
wget -r -A .gif,.jpeg,.jpg,.png http://www.example.com/Get the dimentions using
identifyfind . -type f -name "\(*.gif|*.jp?g|*.png\)" -exec identify -format '%b,%w %h\n' {} \; > sizes.csvOpen
sizes.csv