Hi there, I'm with you and will try to support a new version 4.0 of FreeImage. Although I've been contributing some small new features to the library written in C/C++, my main focus was always on the VB6 wrapper (as well on the C# .NET wrapper, as long as C# was an option in my software company). However, I'm still here and willing to help with new versions and the VB6 wrapper, at least. BTW, for my mind, FreeImage version 4.0 should be hosted on an official GitHub repository and not longer on SF....
You're welcome. Unfortunately, I don't know any .NET Image Metadata library. However, Google should get you a bunch of suitable .NET EXIF libraries.
Hi Gian, some of the FreeImage Metadata Models are read-only. You could add tags but they are never written to an image file. Actually, GPS info is read-only for JPEG images. Have a look at Table 13: Metadata models supported by FreeImage on page 77 (approx.) in the PDF documentation. Carsten
No, there is no such function in FreeImage available. You need to code one yourself.
Hi William, glad to hear that it's working now :-) Carsten
Hello William, I'm not a C++ specialist but have some remarks on your code. First, when using the DLL (not linking FreeImage statically), FreeImage_Initialize() and FreeImage_DeInitialise() need not be called, since the DLL does this already in its DllMain entry point. Although FreeImage will not necessarily provide error information for your problem, you must register the FreeImageErrorHandler before calling FreeImage_Save(...). FreeImage's error handler is called directly when an error occurs....
I'm still wondering why Microsoft does not include these latest C++ Redistributables into their regular Windows Updates. Isn't it usual, that C/C++ binaries compiled with the operating system's default compiler run out of the box without needing to care for dependencies? It seems like these C++ Redistributables do not install tons of megabytes, so where is the point in NOT installing them automatically?
I'm still wondering why Microsoft does not include these latest C++ Redistributables into their regular Windows Updates. Isn't it usual, that C/C++ binaries compiled with the operating system's default compiler run out of the box without needing to care for dependencies? It seems like these C++ Redistributables do not install tons of megabytes, so where is the point in installing them automatically?