im.format_all

\file \brief All the Internal File Formats. They are all automatically registered by the library. The signatures are in C, but the functions are C++. Header for internal use only.

See Copyright Notice in im_lib.d

Members

Functions

imFormatRegisterBMP
void imFormatRegisterBMP()

\defgroup bmp BMP - Windows Device Independent Bitmap * \section Description * * \par * Windows Copyright Microsoft Corporation. * \par * Internal Implementation. * * \section Features * \verbatim Data Types: Byte Color Spaces: RGB, MAP and Binary (Gray saved as MAP) Compressions: NONE - no compression default RLE - Run Lenght Encoding (only for MAP and Gray) Only one image. Can have an alpha channel (only for RGB) Internally the components are always packed. Lines arranged from top down to bottom or bottom up to top. But are saved always as bottom up.

imFormatRegisterGIF
void imFormatRegisterGIF()

\defgroup gif GIF - Graphics Interchange Format * \section Description * * \par * Copyright (c) 1987,1988,1989,1990 CompuServe Incorporated. \n * GIF is a Service Mark property of CompuServe Incorporated. \n * Graphics Interchange Format Programming Reference, 1990. \n * LZW Copyright Unisys. * \par * Patial Internal Implementation. \n * Decoding and encoding code were extracted from GIFLib 1.0. \n * Copyright (c) 1989 Gershon Elber. * * \section Features * \verbatim Data Types: Byte Color Spaces: MAP only, (Gray and Binary saved as MAP) Compressions: LZW - Lempel-Ziv & Welch default Can have more than one image. No alpha channel. Internally the lines are arranged from top down to bottom.

imFormatRegisterICO
void imFormatRegisterICO()

\defgroup ico ICO - Windows Icon * \section Description * * \par * Windows Copyright Microsoft Corporation. * \par * Internal Implementation. * * \section Features * \verbatim Data Types: Byte Color Spaces: RGB, MAP and Binary (Gray saved as MAP) Compressions: NONE - no compression default Can have more than one image. But reading and writing is limited to 10 images max, and all images must have different sizes and bpp. Can have an alpha channel (only for RGB) Internally the components are always packed. Internally the lines are arranged from bottom up to top.

imFormatRegisterJPEG
void imFormatRegisterJPEG()

\defgroup jpeg JPEG - JPEG File Interchange Format * \section Description * * \par * ISO/IEC 10918 (1994, 1995, 1997, 1999)\n * http://www.jpeg.org/ * \par * Access to the JPEG file format uses libjpeg version 8c. \n * http://www.ijg.org \n * Copyright (C) 1994-2011, Thomas G. Lane, Guido Vollbeding \n * from the Independent JPEG Group. * \par * Access to the EXIF attributes uses libEXIF version 0.6.20. \n * http://sourceforge.net/projects/libexif \n * Copyright (C) 2001-2010, Lutz M�ller * * \section Features * \verbatim Data Types: Byte Color Spaces: Gray, RGB, CMYK and YCbCr (Binary Saved as Gray) Compressions: JPEG - ISO JPEG default Only one image. No alpha channel. Internally the components are always packed. Internally the lines are arranged from top down to bottom. Handle(1) returns jpeg_decompress_struct* when reading, and jpeg_compress_struct* when writing (libJPEG structures).

imFormatRegisterKRN
void imFormatRegisterKRN()

\defgroup krn KRN - IM Kernel File Format * \section Description * * \par * Textual format to provied a simple way to create kernel convolution images. * \par * Internal Implementation. * * \section Features * \verbatim Data Types: Int, Float Color Spaces: Gray Compressions: NONE - no compression default Only one image. No alpha channel. Internally the lines are arranged from top down to bottom.

imFormatRegisterLED
void imFormatRegisterLED()

\defgroup led LED - IUP image in LED * \section Description * * \par * Copyright Tecgraf/PUC-Rio and PETROBRAS/CENPES. * \par * Internal Implementation. * * \section Features * \verbatim Data Types: Byte Color Spaces: MAP only (Gray and Binary saved as MAP) Compressions: NONE - no compression default Only one image. No alpha channel. Internally the lines are arranged from top down to bottom.

imFormatRegisterPCX
void imFormatRegisterPCX()

\defgroup pcx PCX - ZSoft Picture * \section Description * * \par * Copyright ZSoft Corporation. \n * ZSoft (1988) PCX Technical Reference Manual. * \par * Internal Implementation. * * \section Features * \verbatim Data Types: Byte Color Spaces: RGB, MAP and Binary (Gray saved as MAP) Compressions: NONE - no compression RLE - Run Lenght Encoding [default - since uncompressed PCX is not well supported] Only one image. No alpha channel. Internally the components are always packed. Internally the lines are arranged from top down to bottom.

imFormatRegisterPFM
void imFormatRegisterPFM()

\defgroup pfm PFM - Portable FloatMap Image Format \section Description * \par Internal Implementation. * \section Features * \verbatim Data Types: Float Color Spaces: Gray and RGB Compressions: NONE - no compression default

imFormatRegisterPNG
void imFormatRegisterPNG()

\defgroup png PNG - Portable Network Graphic Format * \section Description * * \par * Access to the PNG file format uses libpng version 1.5.7. \n * http://www.libpng.org \n * Copyright (C) 1998-2011 Glenn Randers-Pehrson * * \section Features * \verbatim Data Types: Byte and UShort Color Spaces: Gray, RGB, MAP and Binary Compressions: DEFLATE - LZ77 variation (ZIP) default Only one image. Can have an alpha channel. Internally the components are always packed. Internally the lines are arranged from top down to bottom. Handle(1) returns png_structp libPNG structure.

imFormatRegisterPNM
void imFormatRegisterPNM()

\defgroup pnm PNM - Netpbm Portable Image Map * \section Description * * \par * PNM formats Copyright Jef Poskanzer * \par * Internal Implementation. * * \section Features * \verbatim Data Types: Byte and UShort Color Spaces: Gray, RGB and Binary Compressions: NONE - no compression default ASCII (textual data) Can have more than one image, but sequencial access only. No alpha channel. Internally the components are always packed. Internally the lines are arranged from top down to bottom.

imFormatRegisterRAS
void imFormatRegisterRAS()

\defgroup ras RAS - Sun Raster File * \section Description * * \par * Copyright Sun Corporation. * \par * Internal Implementation. * * \section Features * \verbatim Data Types: Byte Color Spaces: Gray, RGB, MAP and Binary Compressions: NONE - no compression default RLE - Run Lenght Encoding Only one image. Can have an alpha channel (only for IM_RGB) Internally the components are always packed. Internally the lines are arranged from top down to bottom.

imFormatRegisterSGI
void imFormatRegisterSGI()

\defgroup sgi SGI - Silicon Graphics Image File Format * \section Description * * \par * SGI is a trademark of Silicon Graphics, Inc. * \par * Internal Implementation. * * \section Features * \verbatim Data Types: Byte and UShort Color Spaces: Gray and RGB (Binary saved as Gray, MAP with fixed palette when reading only) Compressions: NONE - no compression default RLE - Run Lenght Encoding Only one image. Can have an alpha channel (only for IM_RGB) Internally the components are always packed. Internally the lines are arranged from bottom up to top.

imFormatRegisterTGA
void imFormatRegisterTGA()

\defgroup tga TGA - Truevision Graphics Adapter File * \section Description * * \par * Truevision TGA File Format Specification Version 2.0 \n * Technical Manual Version 2.2 January, 1991 \n * Copyright 1989, 1990, 1991 Truevision, Inc. * \par * Internal Implementation. * * \section Features * \verbatim Data Types: Byte Color Spaces: Gray, RGB and MAP (Binary saved as Gray) Compressions: NONE - no compression default RLE - Run Lenght Encoding Only one image. Can have an alpha channel (only for RGB) Internally the components are always packed. Internally the lines are arranged from bottom up to top or from top down to bottom.

imFormatRegisterTIFF
void imFormatRegisterTIFF()

\defgroup tiff TIFF - Tagged Image File Format * \section Description * * \par * Copyright (c) 1986-1988, 1992 by Adobe Systems Incorporated. \n * Originally created by a group of companies, * the Aldus Corporation keeped the copyright until Aldus was aquired by Adobe. \n * TIFF Revision 6.0 Final � June 3, 1992 \n * http://www.adobe.com/Support/TechNotes.html * \par * Access to the TIFF file format uses libTIFF version 4.0.3 \n * http://www.remotesensing.org/libtiff/ \n * Copyright (c) 1988-1997 Sam Leffler \n * Copyright (c) 1991-1997 Silicon Graphics, Inc. \n * * \section Features * \verbatim Data Types: <all> Color Spaces: Gray, RGB, CMYK, YCbCr, Lab, XYZ, Map and Binary. Compressions: NONE - no compression [default for IEEE Floating Point Data] CCITTRLE - CCITT modified Huffman RLE (binary only) [default for Binary] CCITTFAX3 - CCITT Group 3 fax (binary only) CCITTFAX4 - CCITT Group 4 fax (binary only) LZW - Lempel-Ziv & Welch default JPEG - ISO JPEG [default for YCBCR] NEXT - NeXT 2-bit RLE (2 bpp only) CCITTRLEW - CCITT modified Huffman RLE with word alignment (binary only) RLE - Packbits (Macintosh RLE) [default for MAP] THUNDERSCAN - ThunderScan 4-bit RLE (only for 2 or 4 bpp) PIXARLOG - Pixar companded 11-bit ZIP (only byte, ushort and float) DEFLATE - LZ77 variation (ZIP) ADOBE_DEFLATE - Adobe LZ77 variation SGILOG - SGI Log Luminance RLE for L and Luv (only byte, ushort and float) [default for XYZ] SGILOG24 - SGI Log 24-bit packed for Luv (only byte, ushort and float) Can have more than one image. Can have an alpha channel. Components can be packed or not. Lines arranged from top down to bottom or bottom up to top. Handle(1) returns a TIFF* libTIFF structure.

Meta