freeimage

What libraries are available for manipulating super large images in .Net

I have some really large files for example 320 MB tif file with 14000 X 9000 pixels. The operations I need to perform are basically scaling the images to get smaller versions of it and breaking the image into tiles. My code works fine with small files and I use the .Net Bitmap objects but I will occasionally get Out of Memory exception...

gif display freeimage freeimageplus

Does any body try freeimage to display gif files? I am using freeimageplus to decode gif, but failed. I don't know where is wrong. Can anybody help me? My Source Code is as follows: m_pMultiPageImg = new fipMultiPage(TRUE); m_pMultiPageImg->open("c:\\1.gif", TRUE, FALSE ); int frameSize = m_pMultiPageImg->getPageCount(); for (...

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. ...

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 odd-behaviour is that when I go to close a new image via CloseMultiBitmap() the method appears to w...

C#: Convert FreeImage FIBITMAP to byte[]

Hello, I am having some trouble using the FreeImage .NET wrapper - I can successfully create an FIBITMAP, but I haven't figured out how to get a byte[] or Stream from the FIBITMAP. If anyone has some experience with FreeImage and knows =how to do this, please let me know! Thanks y'all, -Charles ...

How to know the compress rate of a jpeg image?

Is there any method to know the compress rate of a jpeg image? When I am using photoshop, I can set the compress rate when saving a jpeg image, When I am opening a jpeg image, can I read the compress rate of it? I am using freeimage, c++, however I do not find the API. Many thanks! ...

#include <FreeImage.h> not found

I have compiled FreeImage from source and installed it. When I run sudo make install in installs the following files on my system /usr/local/include/FreeImage.h /usr/local/lib/libfreeimage-3.10.0.dylib /usr/local/lib/libfreeimage.a However in my C++ program it says error file not found when I do this: #include <FreeImage.h> I have...

FreeImage license in project published under MIT License

Hi if I want to publish a project under the MIT license, and the project will use FreeImage under its public license, do I simply include that license seperatly so that my own code is released under MIT, while freeImage keeps its license? thank you! ...

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 failed: Symbol not found: _FreeImage_SetOutputMessage Referenced from: /Users/username/.ru...

FreeImage - Write zTXt tag to PNG

This is really causing me a headache. For some reason or another, I can add a specific tag to a PNG file, but it's not adding the way I'd like and I don't know how to get it to write the way I want Given the code; Dim FImage As FIBITMAP = FreeImage.CreateFromBitmap(Image) Dim FTag As New Metadata.MetadataTag(FREE_IMAGE_MDMODE...

Which is faster, GDI+ or libpng?

I have an HBITMAP and i would like to convert it to png format(in memory i have malloc'd)as fast as possible, so my question is should i go with GDI+ or libpng? I've tried using GDI+, but it doesn't seem as fast as i would like it to be. I've also tried FreeImage and it was way too slow. P.S. - I'm using C++ Thanks for reading ...

Lightweight command-line image resizer?

Hello, I'm looking for an image resizer / thumbnailer that is lightweight and efficient. Something that does a good job with all image types, but most importantly jpeg and png. I've looked into ImageMagick and GraphicsMagick, but they are too heavy. This is something I want to distribute with my app, so the smaller the better. I don...

FreeImage dll nor working for batch process

Hi, I need to load batches of image files and change their dimensions. I'm doing it through FreeImage.dll in C++. Each batch contains JPG and TIF files. The problem is the exe processes the first batch accurately but for further batches it starts skipping some files, specially JPG files. I tried Initializing and Uninitializing FreeIma...