DEV Community

Discussion on: Batch renaming images, including image resolution, with awk

Collapse
 
oscherler profile image
Olivier “Ölbaum” Scherler

If you have ImageMagick installed, you can also use identify -format '%Wx%H' filename.png to give you the resolution (and a lot of other image properties).