IM: im_lib.h Source File
From IM - An Imaging Tool
im_lib.h
Go to the documentation of this file.00001 /** \file 00002 * \brief Library Management and Main Documentation 00003 * 00004 * See Copyright Notice in this file. 00005 * $Id: im_lib.h,v 1.2 2005/04/14 19:41:10 scuri Exp $ 00006 */ 00007 00008 #ifndef __IM_LIB_H 00009 #define __IM_LIB_H 00010 00011 #if defined(__cplusplus) 00012 extern "C" { 00013 #endif 00014 00015 00016 /** \defgroup lib Library Management 00017 * \ingroup util 00018 * \par 00019 * Usefull definitions for about dialogs and 00020 * for checking the compiled version with the linked version for dynamic libraries. 00021 * \par 00022 * See \ref im_lib.h 00023 * @{ 00024 */ 00025 #define IM_AUTHOR "Antonio Scuri" 00026 #define IM_COPYRIGHT "Copyright (C) 1994-2005 Tecgraf/PUC-Rio and PETROBRAS S/A" 00027 #define IM_VERSION "3.0.4" 00028 #define IM_VERSION_DATE "2005/07/18" 00029 /** @} */ 00030 00031 /** Library release number used in the compilation time. \n 00032 * You can compare this with the value returned by \ref imVersionNumber. 00033 * \ingroup lib */ 00034 #define IM_VERSION_NUMBER 300004 00035 00036 /** Returns the library current version. 00037 * \ingroup lib */ 00038 const char* imVersion(void); 00039 00040 /** Returns the library current version release date. 00041 * \ingroup lib */ 00042 const char* imVersionDate(void); 00043 00044 /** Returns the library current version number. 00045 * \ingroup lib */ 00046 int imVersionNumber(void); 00047 00048 00049 #if defined(__cplusplus) 00050 } 00051 #endif 00052 00053 00054 /*! \mainpage IM 00055 * <CENTER> 00056 * <H3> Image Representation, Storage, Capture and Processing </H3> 00057 * Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil \n 00058 * http://www.tecgraf.puc-rio.br/im \n 00059 * mailto:im@tecgraf.puc-rio.br 00060 * </CENTER> 00061 * 00062 * \section over Overview 00063 * \par 00064 * IM is a toolkit for Digital Imaging. 00065 * \par 00066 * It provides support for image capture, several image file formats and many image processing operations. 00067 * \par 00068 * Image representation includes scientific data types (like IEEE floating point data) 00069 * and attributes (or metadata like GeoTIFF and Exif tags). 00070 * Animation, video and volumes are supported as image sequences, 00071 * but there is no digital audio support. 00072 * \par 00073 * The main goal of the library is to provide a simple API and abstraction 00074 * of images for scientific applications. 00075 * \par 00076 * The toolkit API is written in C. 00077 * The core library source code is implemented in C++ and it is very portable, 00078 * it can be compiled in Windows and UNIX with no modifications. 00079 * New image processing operations can be implemented in C or in C++. 00080 * \par 00081 * IM is free software, can be used for public and commercial applications. 00082 * \par 00083 * This work was developed at Tecgraf/PUC-Rio 00084 * by means of the partnership with PETROBRAS/CENPES. 00085 * 00086 * \section author Author 00087 * \par 00088 * Basic Software Group @ Tecgraf/PUC-Rio 00089 * - Antonio Scuri scuri@tecgraf.puc-rio.br 00090 * 00091 * \section copyright Copyright Notice 00092 \verbatim 00093 00094 **************************************************************************** 00095 * Copyright (C) 1994-2004 Tecgraf/PUC-Rio and PETROBRAS S/A. * 00096 * All rights reserved. * 00097 * * 00098 * Permission is hereby granted, free of charge, to any person obtaining * 00099 * a copy of this software and associated documentation files (the * 00100 * "Software"), to deal in the Software without restriction, including * 00101 * without limitation the rights to use, copy, modify, merge, publish, * 00102 * distribute, sublicense, and/or sell copies of the Software, and to * 00103 * permit persons to whom the Software is furnished to do so, subject to * 00104 * the following conditions: * 00105 * * 00106 * The above copyright notice and this permission notice shall be * 00107 * included in all copies or substantial portions of the Software. * 00108 * * 00109 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * 00110 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 00111 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * 00112 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY * 00113 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, * 00114 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * 00115 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 00116 **************************************************************************** 00117 \endverbatim 00118 */ 00119 00120 00121 /** \defgroup imagerep Image Representation 00122 * \par 00123 * See \ref im.h 00124 */ 00125 00126 00127 /** \defgroup file Image Storage 00128 * \par 00129 * See \ref im.h 00130 */ 00131 00132 00133 /** \defgroup format File Formats 00134 * \par 00135 * See \ref im.h 00136 * 00137 * Internal Predefined File Formats: 00138 * \li "BMP" - Windows Device Independent Bitmap 00139 * \li "PCX" - ZSoft Picture 00140 * \li "GIF" - Graphics Interchange Format 00141 * \li "TIFF" - Tagged Image File Format 00142 * \li "RAS" - Sun Raster File 00143 * \li "SGI" - Silicon Graphics Image File Format 00144 * \li "JPEG" - JPEG File Interchange Format 00145 * \li "LED" - IUP image in LED 00146 * \li "TGA" - Truevision Targa 00147 * \li "RAW" - RAW File 00148 * \li "PNM" - Netpbm Portable Image Map 00149 * \li "ICO" - Windows Icon 00150 * \li "PNG" - Portable Network Graphic Format 00151 * 00152 * Other Supported File Formats: 00153 * \li "JP2" - JPEG-2000 JP2 File Format 00154 * \li "AVI" - Windows Audio-Video Interleaved RIFF 00155 * \li "WMV" - Windows Media Video Format 00156 * 00157 * Some Known Compressions: 00158 * \li "NONE" - No Compression. 00159 * \li "RLE" - Run Lenght Encoding. 00160 * \li "LZW" - Lempel, Ziff and Welsh. 00161 * \li "JPEG" - Join Photographics Experts Group. 00162 * \li "DEFLATE" - LZ77 variation (ZIP) 00163 * 00164 * \ingroup file */ 00165 00166 00167 /* Library Names Convention 00168 * 00169 * Global Functions and Types - "im[Object][Action]" using first capitals (imFileOpen) 00170 * Local Functions and Types - "i[Object][Action]" using first capitals (iTIFFGetCompIndex) 00171 * Local Static Variables - same as local functions and types (iFormatCount) 00172 * Local Static Tables - same as local functions and types with "Table" suffix (iTIFFCompTable) 00173 * Variables and Members - no prefix, all lower case (width) 00174 * Defines and Enumerations - all capitals (IM_ERR_NONE) 00175 * 00176 */ 00177 00178 00179 #endif