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
0
votes
1 answer

FreeImage library doesn't work on Visual Studio 2013 debugger?

So, I'm working on a game engine in Visual Studio 2013 and I tried to use FreeImage v3.17 library, however, after trying to use the library on a simple example that is provided by the lib itself, the program is unable to load the image, unless I run…
0
votes
0 answers

Someone has suffered or can test FreeImage_ConvertToXXX issues?

I was thinking it was my fault but making a much more simplier code it still fails: FIBITMAP* infloat = FreeImage_ConvertToRGBF(bitmap); FreeImage_Save(fifpng, bitmap, "D:\\orig.png", 0); //THIS WORKS OK FreeImage_Save(fifexr, infloat,…
Frank Escobar
  • 368
  • 4
  • 20
0
votes
1 answer

Convert FreeImage FIBITMAP format to OpenCV Mat

I've been searching on an answer but all I can find is the inverse of what I need (Mat to FIBITMAP). I have a short code that loads images as FIBITMAP objects. I need FreeImage because OpenCV doesn't allow me to load pfm and some other extension…
pedro
  • 417
  • 2
  • 7
  • 25
0
votes
1 answer

Install Freeimage plugin in Starcluster

How can I install the Freeimage library in a Starcluster cluster so that it can be used with the scikit-image module? I set up a cluster on AWS using Starcluster and I want to run some script that requires loading .jp2 images with the scikit-image…
Maturin
  • 387
  • 1
  • 4
  • 14
0
votes
1 answer

How to create FreeImageBitmap from ushort[] making only one copy of the pixel data?

I'm using FreeImageNET for writing single-channel 16-bit PNGs under .NET, as this capability is not working with System.Drawing.Bitmap. I get 16-bit data from a camera as ushort[]. I am saving this data to file as follows: public void…
Mike C
  • 1,224
  • 10
  • 26
0
votes
1 answer

Linking FreeImage VS2013

Have been trying to link FreeImage to with Visual Studio Express 2013 and getting little stuck, have followed Building & Linking FreeImage with Visual Studio Express 2013 and problem with having to include seems to been fixed with update…
0
votes
1 answer

FreeImageNet Save TIFF_CCITTFAX3 or TIFF_CCITTFAX4 does not work

Compression in TIFF_CCITTFAX3 or TIFF_CCITTFAX4 does not work properly, the resulting file is always in TIFF_LZW format Ex : FreeImage.Save(FREE_IMAGE_FORMAT.FIF_TIFF, dib, outFileName, FREE_IMAGE_SAVE_FLAGS.TIFF_CCITTFAX3); how to solve this…
Njara
  • 1
  • 1
0
votes
1 answer

Issues with rake after installing FreeImage on Mac OS X 10.6

I am trying to setup my dev environment on my Mac (running Mac OS X 10.6) for my work's rails application. It requires FreeImage and now that I have installed that, I run rake db:migrate and receive the following error: dyld: lazy symbol binding…
bynines
  • 11
  • 2
0
votes
1 answer

how to diagnose freeimage loadfromstream errors

I am using a C# FreeImage wrapper. I am trying to open a PDF file containing images, and "extract" those images into windows Bitmap objects. I am following the guidelines described in articles on the internet, following loosely the following…
hello_earth
  • 1,442
  • 1
  • 25
  • 39
0
votes
1 answer

FreeImage problems on Android (NDK)

I tried to use FreeImage library to load PNG as a texture (from memory). That's the fragment of code: FIMEMORY *fiStream = FreeImage_OpenMemory(streamData, size); FREE_IMAGE_FORMAT fileFormat = FreeImage_GetFileTypeFromMemory(fiStream, 0); FIBITMAP…
rafalczuj
  • 51
  • 1
  • 5
0
votes
0 answers

freeimage memory cleanup behavior

I'm trying to use freeimage library to decode images, do some processing in opencv and encode it back. For now I trying to parse GIF files. Pixels data looks ok, I'm able to convert palette to rgb24, create IplImage and show it in highgui window.…
Tommi
  • 3,199
  • 1
  • 24
  • 38
0
votes
1 answer

I can't display a texture on a quad

I am trying to wrap a texture on a quad. All I see is a white rectangle: To load the texture I used freeimage. I need help in order to fix this very simple demo: #include #include #include #include…
tuket
  • 3,232
  • 1
  • 26
  • 41
0
votes
0 answers

How to send pixel data over a network to be rendered as an image on a client

What is the best practice for sending OpenGL pixel data across a network and then then displaying it on on a client as a bitmap image. What I currently have is Get the pixel data using glReadPixels, Create a FreeImage object using…
maxhap
  • 221
  • 3
  • 15
0
votes
1 answer

FreeImage and wxWidgets conflict?

As soon as I built the FreeImaged.lib and #included FreeImage.h linked it to my WORKING wxWidgets + OpenCV dependent project, I got errors mainly in two files: init.h and atomic.h. Most of the errors state that: HINSTANCE is undefined wxEntry…
hello all
  • 252
  • 2
  • 17
0
votes
1 answer

Skybox doesn't render

I try to render skybox on my scene, but it renders black like texture is not loaded properly. I use FreeImage library to load a texture: #include Here's my Skybox class: #include "Skybox.h" CSkybox::CSkybox(){ el::Logger* logger…
aerion
  • 702
  • 1
  • 11
  • 28