User Activity

  • Posted a comment on discussion Developers on FreeImage

    I've been using the FreeImage library for quite a while now and have it integrated into a larger program I developed to draw and display simple images. Recently I uncovered a potential bug when I execute the FreeImage_Save function in the library which only happens intermittently. I'm using the latest v3.18.0 library. My code was initially creating PNG image files. However, sometimes this was causing my C++ Windows Form program to crash. During debug, the feedback I was seeing was pointing to a memory...

  • Posted a comment on discussion Developers on FreeImage

    Resulting PNG file

  • Posted a comment on discussion Developers on FreeImage

    Hi Carsten, I appreciate those insights and I will certainly be making those corrections. I am glad that I saw your post and re-visited this because it now is working fine. I did some experimentation but could not re-produce the image save error. I even dropped in the original code that I posted here. I am dumbfounded and can't say for certainty what caused the error to occur. Perhaps I messed up my library files, IDE needed to reset build configuration, etc. Here is DOS console today:

  • Posted a comment on discussion Developers on FreeImage

    I have been struggling with my initial use of the FreeImage library. Below is my code. It compiles and runs, however, it fails to save the PNG image. I am also unable to get the FreeImage_SetOutputMessage function to work properly to see what the save error message is. I'm building a simple DOS console in Visual Studio Community 2015. It is configured for Release/x86 and I have set the C/C++and Linker properties for the FreeImage.h and .lib files and placed the FreeImage.dll in the Release folder...

View All

Personal Data

Username:
imagecoder
Joined:
2021-01-18 16:39:26

Projects

  • No projects to display.

Personal Tools