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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.