Given a jpg file, I need to be able to modify the Title and Subject properties of that file. I just need a proof-of-concept program that will do this. I am a programmer myself and will be incorporating this into my project. I have tried various code samples found on the Internet, and found something that can read these values just fine, but I can't find code (that works) to update and save these values. In one example, I have an "image.SetPropertyItem" statement followed by "image.Save". It does not produce an error, but it doesn't work either (the saved file does not contain the updated properties).
So I need a working proof-of-concept app that enables the user to change the Title and Subject properties of a given jpg file. Nothing fancy.