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 on C#

I've downloaded the latest compiled version of FreeImage, then build FreeImageNet wrapper. Put FreeImage.dll and FreeImageNet.dll on the same folder as my executable (the sample code). But everytime I run it, it says freeimage.dll is missing. I…
Irwan
  • 783
  • 1
  • 13
  • 28
0
votes
1 answer

Distributing ruby script with image conversion

I would like to distribute an executable for Mac/Windows of a Ruby script that (besides other things) will be doing a conversion from/to common image formats to .xpm / X PixMap (wikipedia) I know about the following gems that act as a wrapper around…
0
votes
1 answer

UINT16 monochrome image to 8bit monochrome Qimage using freeImage

I want to convert a UINT16 monochrome image to a 8 bits image, in C++. I have that image in a char *buffer; I'd like to give the new converted buffer to a QImage (Qt). I'm trying with freeImagePlus fipImage fimage; if (fimage.loadfromMemory(...)…
Mark A.
  • 193
  • 1
  • 3
  • 14
-1
votes
1 answer

How do I insert a WebP-image (".jpg") in Excel using VBA?

As the the title suggests, I am dealing with a WebP image online. The file name ends in .jpg, but it's a WebP image. I would like to insert this image in an excel sheet using "ActiveSheet.Pictures.Insert". My code works well for actual .jpg images,…
Wobzter
  • 11
  • 3
-1
votes
1 answer

Add text to image with FreeImage

How I can add some texts into a image using FreeImage ( http://freeimage.sourceforge.net/ ) ? I searched the documentation and found no information on how I can do this
Alexandre
  • 1,985
  • 5
  • 30
  • 55
-1
votes
1 answer

How to read jpg using FreeImage

I am new to FreeImage. I just want to read an JPEG image and display it in my MFC dialog. How do I do that? I try that using ImageStone by doing: img.Load(blob.data, size, IMG_JPG); img.Draw(hdc, DC); Now, how do I do the same thing using…
Makoto
  • 1
  • 1
-1
votes
1 answer

OpenGL quad appears black when using textures loaded with freeimage

I'm using OpenGL 4.3 and I'm trying to draw a quad on which I would like to apply this texture (namely "textures/dickbutt.png"). The texture has 654x654 dimensions. But every possible combinations of instructions always led me to have a black…
pandaman1234
  • 523
  • 7
  • 17
-1
votes
1 answer

How do you build FreeImage for Android from its source distribution?

I need to build the FreeImage.a library for my Android project. I've downloaded the source code from the project page. How do I build this project from the original sources when targeting Android?
Sreekanth Karumanaghat
  • 3,383
  • 6
  • 44
  • 72
-2
votes
1 answer

Vulkan output RGBA color to BGRA color attachment

I wrote a simple Vulkan demo with BGRA images queried from swapchain. If I output RGBA pixels to it, the R channel and G channel in final result were swapped. But when I checked the demo in Vulkan SDK dir, I found that it also use a BGRA image view…
hamwj1991
  • 51
  • 8
-3
votes
1 answer

Why do i always get a black image when trying to save the opengl buffer by using freeimage libarary?

Does anybody have experience with using the freeimage library to save the opengl buffer? Here is my code: void screenshot(const char *ptr){ GLint viewPort[4]; glGetIntegerv(GL_VIEWPORT, viewPort); GLubyte *pixels=new…
1 2 3
11
12