Questions tagged [freeimage]

"FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications."

FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications. FreeImage is easy to use, fast, threading-safe, compatible with all 32-bit or 64-bit versions of Windows, and cross-platform (works both with Linux and Mac OS X).

FreeImage is usable in many languages including C, C++, VB, C#, Delphi, Java and also in common scripting languages such as Perl, Python, PHP, TCL or Ruby.

175 questions
1
vote
1 answer

Using FreeImage with Xcode

I'm writing an application in which I want to use free image to load files. I am on MacOSX 10.8.2 and I am using the mac ports version of free image. I had it working, but when I tried putting it on another computer without the port, it wouldn't run…
BlueSpud
  • 1,555
  • 3
  • 19
  • 44
1
vote
1 answer

Unable to find an entry point named 'FreeImage_GetFileTypeU' in DLL 'FreeImageNET'

I just downloaded FreeImage 3.15.4 Win32 and I'm trying to go through their C# samples. I have a 64-bit Windows 7 machine with Visual Studio Express 2010, so I recompiled the samples to 64 bit as described here…
GrandAdmiral
  • 1,348
  • 2
  • 24
  • 52
1
vote
0 answers

How could ProcessStartInfo.UseShellExecute = false result in odd behavior by FreeImageNet on a separate thread?

I am running a Process in a BackgroundWorker to resize images. If I set UseShellExecute = false on the process's startinfo, I get odd behaviour if I do any simultaneous image manipulation with the FreeImageNet library on the UI thread. The…
dotjoe
  • 26,242
  • 5
  • 63
  • 77
1
vote
3 answers

FreeImage delete[] bitmap data fails

Please help me with cleaning up my heap after loading bitmap with FreeImage. Somehow delete[] data; causes _ASSERTE(_CrtIsValidHeapPointer(pUserData)) assertion, and I cannot found how to fix it other than commenting this line. Will there memory…
Ivan Aksamentov - Drop
  • 12,860
  • 3
  • 34
  • 61
1
vote
2 answers

NDK error....on doing ndk-build

I get the following error when trying to perform an NDK-build... Can any one help me? lmImf/ImfHuf.cpp:133: undefined reference to `__cxa_throw' ./obj/local/armeabi-v7a/libfreeimage.a(ImfHuf.o): In function `Imf::(anonymous…
Sreekanth Karumanaghat
  • 3,383
  • 6
  • 44
  • 72
1
vote
1 answer

I am trying to use the freeimage library in my project..causes error

The following code snippet causes error....the logcat has been attached...I am tring to pass the image path from teh java code to the NDK code and from there I am trying to open the bitmap using FreeImage library.... JNIEXPORT void JNICALL…
Sreekanth Karumanaghat
  • 3,383
  • 6
  • 44
  • 72
1
vote
1 answer

Finding FreeImage.so

Can any one tell me where can I find freeImage.so?I have been trying a lot to find the same and have not been succesfull..any help would be highly appreciated.I have tried to convert freeimage.a to freeImage.so and that also haven't worked…
Sreekanth Karumanaghat
  • 3,383
  • 6
  • 44
  • 72
1
vote
2 answers

how to make transparent background with freeimage?

I use freeimage.net in my web project. I rotate a picture(.jpg) with RotateClassic function,but after that the background is black. How to make it transparent? thanks for any help.
chris
1
vote
1 answer

configure freeimage in xcode

I doing a school project and need to create a 2D polygon in OPENGL then use it as texture so want to use the freeimage library. But the problem is that i do not know how to configure and add the freeimage library to my Xcode project.
Ruben Veiga
  • 343
  • 3
  • 15
0
votes
1 answer

FreeImage .NET Blank FileName when not constant

Can somebody explain me please why FreeImage library is not recognizing my variable as a valid filename for the method Load, I tried the following code: var fileName = "C:\\images\\myimage.tif"; var dib =…
lidermin
  • 2,782
  • 11
  • 43
  • 48
0
votes
2 answers

FreeImage: Get pixel color

I'm writing a little application that reads color of each pixel in image and writes it to file. First I did it in Python, buit it's too slow on big images. Then I discovered FreeImage library, which I could use, but I can't understand how to use…
ghostmansd
  • 3,285
  • 5
  • 30
  • 44
0
votes
0 answers

converting float image to int64 and use it in FreeImage

I have a raw 64bit Float binary file, and would like to use FreeImage to tonemapp it. What I have read in the docs that it has that function FreeImage_ConvertFromRawBits So first I should convert it to FreeImage Type from memory, but that function…
andre_lamothe
  • 2,171
  • 2
  • 41
  • 74
0
votes
0 answers

How to remove the embedded ICC profile from an image in C++?

I need to load a JPEG image with its exif data in a C++ program, apply an operation to generate a new grayscale image (1 channel) and save this result to a JPEG with the original exif information except for the embedded ICC Profile which should be…
0
votes
1 answer

I just downloaded the FreeImage library. How do I install it in visual studio ? I'm working with c#

I downloaded the FreeImage library (https://freeimage.sourceforge.io/download.html), and now I can't add it to my project. I need someone to tell me with details how to do it, that is, where I put the files .dll, .h and .lib, and what settings I…
0
votes
1 answer

Unable to download 'libfreeimage-3.16.0-osx10.6.dylib' using imageio.plugins.freeimage.download()

I am trying to read *.hdr image using imageio python library. I am using the free image plugin for imageio in order to do this. imageio.plugins.freeimage.download() However I get the following error even though I am connected to the…