21.6. Working with Image Files

With the advent of digital photography, everyone has become quite skilled at working with image files. Everyone seems to have a vast collection of photos, and organizing those can easily get out of hand. We need tools to validate that an image's format, resolution, or dimensions comply with our criteria. We can easily do that with one of the freely available desktop programs; they all offer a nice graphical user interface that shows us how to verify image files in an intuitive way. Here, we hit the problem—those nice interfaces are not scriptable at all. We cannot use them for collections of tens or even hundreds of images. We can use external console programs that have been specifically designed with scriptability ...

Get Pro Windows PowerShell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.