I thought I’d look at another approach to retrieving information about images. Previously, I demonstrated how one can get file properties (including images) by using plain VBA or PowerShell:
How to Retrieve a File's Properties with VBA
I’ve been working on a personal project for a little while now and needed to retrieve various file properties. Now I’m not talking about the straightforward properties you can easily retrieve using the File System Object (Size, Date Created, Type, …). If you only need such information, then look over my article: No, I’m interested…
Continue reading →
Get Image Exif Properties using VBA and PowerShell
In this article I thought I’d look at how we could retrieve Image Exif property values using VBA and PowerShell. EXIF What is contained in the Exif properties? Well EXIF contains all sorts of ‘extra’ information pertaining to a file. What exactly depends on the original source of the file, and whether it has been…
Continue reading →
Today, however, I thought I’d demonstrate using the GDI Plus API. This will be Part 1 in a series of posts on the GDI Plus API. It is a very complex and versatile API, so I am breaking it up into digestible pieces of information.
The GDI Plus API
The GDI Plus API can do much, much more than retrieving information about an image! It can for instance, edit an image (watermark anyone?!), you can even use it to alter applications, dialogs, … This is why it is more complex to use, because it is very complex!
I won’t bore you with tons of talk, here’s the code!
Continue reading →