José,
This MSDN code won't work with the
BERRY_Halle.jpg file provided in the zip file.
This will report the GDIPLUS error 19 (
GpStatusPropertyNotFound) trying to read the
PropertyTagImageTitle from the resulting "BERRY_Halle_Modified.jpg" file.
Rather use the
PropertyTagImageDescriptionSee the details here:
http://msdn.microsoft.com/en-us/library/ms534416(v=VS.85).aspx#_gdiplus_constant_propertytagimagedescriptionTo fix the code, change all occurences of
PropertyTagImageTitle into
PropertyTagImageDescription, and see the result within the Windows Explorer:
Right click on the "BERRY_Halle_Modified.jpg" file name,
then select properties,
the select the "Details" tab.
On Windows Seven, you should see in the Description section:
Title Halle Berry
Object Halle Berry
...