This is the home page of the scientific image analysis program IMAL (the Image Measurement and Analysis Lab).
Imal (formerly tnimage) is an open-source scientific image analysis
program that allows you to create, edit, measure, and analyze images.
It is particularly useful for analyzing images of SDS and agarose gels
and X-ray or MRI images.
Latest DOS version: 2.2.7
Latest Unix version: 3.7.7b
New in v.3.7.7: Richardson-Lucy deconvolution
NOTICE: As of version 3.6.0, new versions will be available in source code or partially static format only. Older precompiled versions are still available.
NOTICE: The creators of libpng have changed their library to make it incompatible with older programs. Someday we will get around to re-writing the png handling functions. Until then, users should continue to use libpng version 1.4 or earlier.
NOTICE: To compile imal, you need Motif (no longer called OpenMotif, which seems to have disappeared). This is often included in Linux and called "motif" and "motif-devel". A Motif clone called "lesstif" should also work, although not perfectly. You also must have the development files for libstdc++, freetype (libXft), libXrender, libjpeg, libtiff, and libpng. LibXbae is used if present. It is needed for the optional image spreadsheet editor. The manual gives detailed instructions for compiling for various operating systems.
WARNING: We have discovered that some Linux distributions are now including a bogus version of libjpeg known as libjpeg.8.0.2. This version uses a completely different API and is not supported in Imal. Please use only the authentic Jpeg libraries from IJG. Imal will compile in all versions of IJG libjpeg up to at least jpeg-9.
New: Richardson-Lucy deconvolution, complete FITS r/w file format, 48-bit image processing, vignetting correction, and two types of binning. Major improvements for astronomical image processing.
Pre-compiled Unix versions for X11-Motif for Linux (Intel), SGI Irix, Mac OS X, Solaris, and ConvexOS are also available (Click below)
Several versions are provided. Download the version appropriate for your operating system. The dynamically-linked version will work if you have Motif and your libraries are up to date and in standard locations. If you don't have Motif, or if the dynamically-linked "linux" version doesn't work, you can either install Motif yourself, or use the "nomotif" or "static" version. OpenMotif 2.2.3 is the recommended version to use. You will also need the OpenMotif developers package to compile imal.
Note: The static version is no longer available due to an unknown change that was made to gcc.
Note: Two dynamically-linked and no-motif versions are included: imal and imal64, for 32- and 64-bit x86 Linux systems, respectively.
NOTE The source code version (imal-source.tar.gz) is the only file guaranteed to be the latest version. As of April 2011, pre-compiled versions are created only on an intermittent basis.
Conditions of use: This software is distributed under the GPL version 2. As a condition of use, users are asked to report any problems they encounter with the software.
If you get the message
imal: loadlocale.c:220: _nl_load_locale: Assertion `idx % __alignof__ (u_int32_t) == 0' failed.
Type the command:
before starting Imal.
If you get the message
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: String to TranslationTable conversion encountered errors
this is caused by an incompatibility between the X11 and Motif.
This will prevent all Motif applications from displaying user-entered
text and will eventually cause the program to crash. To fix the problem,
become the superuser and copy XKeysymDB to its proper place:
cp XKeysymDB /usr/X11R6/lib/X11
Feedback on usability issues, suggestions for new feature, errors in the documentation, and bug reports are welcome. Send reports to