IM is a toolkit for Digital Imaging. IM is based on 4 concepts: Image Representation, Storage, Processing and Capture. Image Visualization is a task that it is left for a graphics library.

It provides support for image capture, several image file formats and many image processing operations. The most popular file formats are supported: TIFF, BMP, PNG, JPEG, GIF and AVI.

Image representation includes scientific data types (like IEEE floating point data) and attributes (or metadata like GeoTIFF and Exif tags). Animation, video and volumes are supported as image sequences, but there is no digital audio support.

The main goal of the library is to provide a simple API and abstraction of images for scientific applications.

The toolkit API is written in C. The core library source code is implemented in C++ and it is very portable, it can be compiled in Windows and UNIX with no modifications. New image processing operations can be implemented in C or in C++.

IM is free software, can be used for public and commercial applications.

IM has been used in Tecgraf for many theses and dissertations. Check the Publications in Tecgraf's web site


The library is available for several compilers:

The library is available for several operating systems:


The official support mechanism is by e-mail, using Before sending your message:

After all of the above have been checked, report the problem, including in your message: function, element, format, platform, and compiler.

We host the IM support features at SourceForge: It provides us Mailing List, SVN Repository and Downloads.

The discussion list is available at:
Source code, pre-compiled binaries and documentation can be downloaded at:
The SVN can be browsed at:

If you want us to develop a specific feature for the toolkit, Tecgraf is available for partnerships and cooperation.

Lua documentation and resources can be found at


This work was developed at Tecgraf by means of the partnership with PETROBRAS/CENPES.

Library Author:

Thanks to the people that worked and contributed to the library:

We also thank the developers of the third party libraries:

The IM toolkit distribution includes the some third party libraries that are not developed by Tecgraf. Their license are also free and have the same freedom as the Tecgraf Library License. You can read the respective licenses in the files: zlib.txt, libpng.txt, libjpeg.txt, libtiff.txt, libjasper.txt, liblzf.txt, libexif.txt.

Thanks for the SourceForge for hosting the support features. Thanks for the LuaForge team for previously hosting the support features for many years.

IM is registered at the National Institute of Intellectual Property in Brazil (INPI) under the number 07570-6, and so it is protected against illegal use. See the Tecgraf Library License for further usage information and Copyright.


This documentation is available at and

The full documentation can be downloaded from the Download Files. The documentation is also available in Adobe Acrobat and Windows HTML Help formats.

The HTML navigation uses the WebBook tool, available at

The library Reference documentation is generated by Doxygen ( ).