Source Code
On this page, you will find a central repository for the
FreeImage developer community. Feel free to send us any other
link you may find useful.
C++ / MFC / WIN32
C#
Delphi
Visual Basic
Python
Ruby
QT
Perl
PHP
PowerBasic
Magenta MPL
Blitz+
Harbour / Clipper
Clarion
C++ / MFC / WIN32
FreeImage Algorithms
FreeImage Algorithms is an image processing library built on top of FreeImage. Although originally created for images involving cells it could be used for a large range of tasks. Some of the features include Arithmetic operations, Statistical operations, Convolution and related filters, Predefined Palettes, FFT, Binary Morphology, Particle finding - Ie Labelling of binary images, HBITMAP conversions (Win32), Drawing - Basic Shapes / Convex Hull, Distance Transform, Flood Fill, Linear Scaling, Many utility functions including min max finding in an image, Get Pixels values along a line, Create images from arrays of data.
The
glBugger Project
GlBugger is a program that provides tools to trace the continuity
and order of calls to the OpenGL library, be it for debugging
or optimization needs.
Hierarchical
JPEG Encoding
A school project that covers hierarchical JPEG encoding :
DCT transformation, quantization and hierarchical coding.
Use C++ and MFC. See also this link
for a similar project.
Graphic
Suite Sample
Load, show and convert miscellaneous file-formats using FreeImage.
This demo shows the usage of the FreeImage library to display
and convert various file-formats.
By Markus Loibl.
C#
C#
Wrapper to the FreeImage DLL
This article provides a simplified C# wrapper to the FreeImage
project for graphical file format conversion.
By David Boland.
Note: An enhanced version of this wrapper
is now distributed with the FreeImage library.
Fireball Open Source
Libraries and Software
Fireball.Core is class library developed
for the C# 2.0 framework. This Open Source library contains
a set useful classes and wrappers that simplify the use of
FreeImage under C#.
Delphi
The FreeImage distribution provides both a low-level and
a high-level Delphi wrapper. In case this wrapper is not up-to-date,
you can find the latest version of this wrapper on the FreeImage
Delphi Wrapper page.
Visual Basic
Advanced Imagery Library
This is a collection of wrapper modules that give you full
access to all of the functionality provided by both FreeImage
2.x and FreeImage 3.x. Wrapper modules are available for VB5,
VB6, and VB.NET. This library also contains a couple COM DLL's
that gives easy access to not only FreeImage's functionality,
but all kinds of the image loading, saving, copying, converting,
and manipulating functionality. These DLL's can be used within
any "COM-Aware" development environment, including
(but not limited to) VB4 32-bit, VB5, VB6, VBA, VB.NET, REALbasic
5.5, C#.NET, C++.NET, VC++, PHP, ASP, ASP.NET, VbScript, JavaScript,
JSP, Java, J#.NET, DELPHI, etc.
By Kevin Wilson, creator of The
VB Zone.
FreeImage
Support in VB.NET
According to the author, this is a *must* have for anyone
that wants to extend the supported image formats of their
.NET applications.
See also this link at planet-source-code.com.
LibPackImaging
The LibPacks
are code libraries for Visual Basic (generally, VB6) that
are designed to work well together, and generally make use
of each other. Among other things, LibPackImaging contains
support for the FreeImage library. This allows for loading
and saving in a variety of formats, some graphics operations
(rotation, scaling, etc.), and more. It is available for download
with the rest of the LibPacks.
By Michael Bailey & Murphy McCauley.
Screen
Capture and Thumbnail Creation from Visual Basic 6
A short article showing the use of FreeImage from Visual
Basic 6
Splitting
multipage TIFF files into single pages using Visual Basic
Another article showing the use of FreeImage from Visual
Basic 6
FreeImageX
2.5.3
FreeImageX is a sample ActiveX wrapper kindly contributed
by Markus Loibl.
Note: This wrapper is no longer compatible
with the actual release of the library.
Python
smc.freeimage
smc.freeimage is a Python interface to the FreeImage and LCMS2 libraries.
FreeImagePy
FreeImagePy is an Open Source Python wrapper based on FreeImage
and ctypes, intended to ease the use of FreeImage under your
favorite scripting language.
Ruby
FreeImage Ruby Bindings
The free-image gem provides Ruby language bindings for the FreeImage library. It is free software, released under the MIT License.
ImageScience
ImageScience is a clean and happy Ruby library that generates thumbnails -- and kicks the living crap out of RMagick. Oh, and it doesn't leak memory like a sieve.
QT
FreeImageQt.zip
This is a (rather old) QT wrapper for FreeImage 3.x that
sould work with a few fixes. If you want to contribute with
a better version, please contact the FreeImage team.
By Floris van den Berg
FreeImage QT4 Plugin
With this plugin and p4merge you can diff almost any image format supported by FreeImage, including among others PSD, TGA, JP2 and DDS.
Perl
Win32::GUI
Win32::GUI is a Win32-platform native graphical user interface
toolkit for perl. basically, it's an XS implementation of
most of the functions found in user32.dll and gdi32.dll, with
an object oriented perl interface and an event-based dialog
model.
Win32::GUI::DIBitmap
Win32::GUI::DIBitmap add new reading/writing bitmap formats
to Win32::GUI and some images manipulations (conversion, screen
capture, ...).
By Laurent Rocher.
Win32::Printer
Perl extension for Win32 printing
PHP
FreeImage
PHP Extension
This extension is a wrapper for the FreeImage library that
allows PHP to support popular graphics image formats like
PNG, BMP, JPEG, TIFF and others.
PowerBasic
FreeImage-powerbasic.bas
A small implementation of the FreeImage library.
This file contains only calls for loading FreeImage supported
file formats.
Magenta MPL
FreeImage.mclass
A wrapper to be used with Magenta MPL. Tested with FreeImage
2.3.0
By Floris van den Berg.
Blitz+
FreeImage
Userlib for B+
A FreeImage wrapper for Blitz+.
Image
Packer
ImagePacker is a tool for packing individual images into 1
larger image suitable for single-surface 3D sprite systems.
Harbour / Clipper
HwGUI
HwGUI is an add-on library for Harbour,
intended for creating GUI applications on Win32 platform.
HwGUI is based on direct calls of Win32 API, so it cannot
be used with other operating systems.
HwGUI is an Open
Source project.
xHarbour
xHarbour is a Clipper multiplatform compatible compiler Open
Source project, including about 80 FreeImage functions.
TImage
class
This TImage class uses the free Freeimage.dll to read/write
image files (last update : October 27th 2004).
By Enrico Maria Giordano.
(See also this link
for an older version).
Clarion
Clarion FreeImage
Project
The Clarion FreeImage Project is a set of classes and a template
that implement the FreeImage library in Clarion 5.5
and 6.x.
The base class wraps the FreeImage DLL and includes methods
to load, save, transform, rescale, create thumbnails, color
correct, change bit depth, alpha blend and more.
Built on the base class is an image control that
you can use on your windows like the Clarion image control.
It supports flicker free, resampled zooming and scrolling.
The image control is 100% Clarion source code.
|