avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday July 2, 2022, 3:49 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: code based a FreeImage and compiled with VC++ fails to load image to memory  (Read 2818 times)


  • Member
  • Joined in 2007
  • **
  • Posts: 141
    • View Profile
    • Donate to Member
Hi board,

I have this little copymove.c, it's used for detecting duplicated area of a image, it's written in C but with some C++ features, it was originally compiled under Linux using

-lfreeimage -lstdc++

I tried to port it to Windows, with the newest FreeImage.dll library, the compilation (with VC2003/MinGW) was successful, but the app fails every time to this line:

FIBITMAP * bitmap = FreeImage_LoadFromMemory

Can anyone help me patch the program and make it run correctly? A copymove.exe binary is much more appreciated. Thanks a lot