Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 10, 2016, 08:41:26 AM
  • Proudly celebrating 10 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 1772 times)

electronixtar

  • 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