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
2
votes
2 answers

How STATIC LINK FreeImage Library?

This is for people using FreeImage Library - an open source C library to manage images: http://freeimage.sourceforge.net/ This question has been submitting many times in different forums, but I couldn't find the answer. If somebody knows the…
Mateusz
  • 119
  • 10
2
votes
1 answer

Showing EXR/HDR in WPF

How can I show EXR/HDR using FreeImage (Wrapper for .NET) as a WPF's Image? And PNG, TIFF, TGA? I'm trying and searching in the net, but I'm not able to show these images... I'm using Visual Studio 2010 Thanks
Janil
  • 81
  • 1
  • 7
2
votes
1 answer

Can't add a metadata to a JPEG image using FreeImage

I try to add metadata to an existing JPEG file and saving the image in another file. I'm using Delphi 11 and FreeImage (Delphi wrapper). The image is produced identical to the existing image, without the added metadata tag. No error at all. Here is…
fpiette
  • 11,983
  • 1
  • 24
  • 46
2
votes
3 answers

Loading RAW grayscale image with FreeImage

How can I load RAW 16-bit grayscale image with FreeImage? I have unsigned char* buffer with raw data. I know its dimensions in pixels and I know it is 16bit grayscale. I'm trying to load it with FIBITMAP* bmp = FreeImage_ConvertFromRawBits(buffer,…
rattler
  • 379
  • 2
  • 5
  • 15
2
votes
1 answer

Change image resolution in FreeImage

I open a multipage TIFF file using FreeImage and lock a specific page. After that, I use the following code to change the image resolution of the page: FreeImage.SetResolutionX(page, (uint)outputDpi); FreeImage.SetResolutionY(page,…
Alexandru Pupsa
  • 1,798
  • 4
  • 21
  • 40
2
votes
0 answers

FreeImage C# DllNotFoundException

Throw Nuget Package Manager, I've downloaded this version of FreeImage that seems to be the easyer version to use. The version name is : VVVV.FreeImage The link : https://www.nuget.org/packages/VVVV.FreeImage/ When I try to use the library I have a…
betsou
  • 143
  • 3
  • 16
2
votes
1 answer

Cannot read JP2 file with FreeImage .NET wrapper

I'm trying to read and convert JP2 images using the FreeImage accepted answer from this question but getting a 0 byte JOEG file. When I step through I see that the line FIBITMAP dib = FreeImage.LoadEx(inputImage) is returning 0 in dib. Is there…
Raj
  • 1,742
  • 1
  • 12
  • 17
2
votes
2 answers

Why FreeImage loads image in BGR format?

I write game using Android NDK and FreeImage library to load images into my game. It loads images in BGR format. It is possible to load in RGB format? Or I need to swap R and B components manualy? Edited My device is Samsung Galaxy S4(armv7…
haksist
  • 229
  • 2
  • 5
  • 17
2
votes
1 answer

openFrameworks / freeimage.a cause error with ios arm 64

i'm using assimp.a and freeimage.a with voufria ar base on https://github.com/DrNeuroSurg/REVu/tree/master/REVU_IOS I'm trying to build an app I've been working on for 64-bit iOS and it's failing at the linker. The error is this: ld: 128-bit…
2
votes
0 answers

i want to write .j2c file

With FreeImage I want to create a j2c file for DCINEMA and test it, however, the result file is not compatible with j2c. IfanView (image software) says "result.j2c" is a jp2 file with an incorrect extension and renames it from result.j2c to…
n2v2rda2
  • 327
  • 2
  • 5
  • 15
2
votes
2 answers

How to save a .NET Bitmap using FreeImage.NET

After spending 2 days to realize that the C# Bitmap.Save method was bugged (for JPEG/grayscale/8bbp), I tried FreeImage to see if I could save it correctly, and at first glance it seemed so, but after closer inspection it seems it doesn't work…
Gonçalo Cardoso
  • 2,253
  • 4
  • 34
  • 63
2
votes
1 answer

Load files with FreeImage to PySide

I am trying to use smc.FreeImage to load a .NEF files (Nikon Camera RAW) and Display with PySide. I found this example that loads and displays the commented .JPG file just fine, but it crashes when I replace the pixmap with a FI.Image NEF. I added…
2
votes
1 answer

C++ How to disable plugins in FreeImage?

I've searched the web on how to do it but I can't find anything about how someone could disable certain plugins in FreeImage. Reading the Changelog I see that it's possible but I can't find any documentation. For example I don't need EXR (which…
SLC
  • 2,167
  • 2
  • 28
  • 46
2
votes
0 answers

Why handle of file is not releasing using FreeImage.UnloadEx

Using FreeImage class from FreeImageNet library, I am loading images of all formats. But it is not releasing handle of file of some large J2K images, that's why images are not loaded. FREE_IMAGE_FORMAT frm = FREE_IMAGE_FORMAT.FIF_UNKNOWN; …
Shikha
  • 339
  • 2
  • 14
2
votes
1 answer

freeimage convert png 24bit to 1bit black/white = grey/white?

I am using Freeimage.sf.net to load an png24bit and want to save it as black/white png. using FIBITMAP bib = Freeimage.Load("<24bit_png>"); FIBITMAP conv = FreeImage.ConvertColorDepth(bib, FREE_IMAGE_COLOR_DEPTH. FICD_01_BPP_THRESHOLD, (byte)…
Bernhard
  • 2,541
  • 1
  • 26
  • 24
1 2
3
11 12