home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 14 Text
/
14-Text.zip
/
avcfconv.txt
< prev
next >
Wrap
Text File
|
1994-03-05
|
11KB
|
363 lines
=======================================================================
AVC Support for TGA
The AVC will read most TGA images. The AVC will write 3 different
"types" of TGA images.
----------------------------------------------------------------------
Input Support
* ID Length - Not used, except to skip the Image ID field.
* Color Map Type - Supports both 0 and 1; will only use color-map if
image is already mapped (not RGB).
* Image Type - Supports 1, 2, 3, 9, 10, 11; 0 is not supported because
it indicates that no image data is included.
* Color Map Specification:
. First Entry Index - Not used. AVC will use entire map included.
. Color-map Length - Supports up to 256.
. Color-map Entry Size - Supports 15, 16, 24, and 32.
* Image Specification:
. X-origin of Image - Not used.
. Y-origin of Image - Not used.
. Image Width - AVC image pel width
. Image Height - AVC image pel height
. Pixel Depth - Supports 8, 16, 24, 32 (where 32 is actually 24).
. Image Descriptor - Not used.
* Image ID - Not used.
* Color-Map Data - AVC uses only if the image is mapped.
* Image Data - Start of image data.
------------------------------------------------------------------------
Output Support
* ID Length - 0
* Color Map Type - 0 if RGB 16 or RGB24; 1 if Mapped.
* Image Type - 1 if Mapped; 2 if RGB 16 or RGB 24.
* Color Map Specification:
. First Entry Index - 0
. Color-map Length - 256 if Mapped; 0 if RGB 16 or RGB 24
. Color-map Entry Size - 24 if Mapped; 0 if RGB 16 or RGB 24
* Image Specification:
. X-origin of Image - 0
. Y-origin of Image - 0
. Image Width - up to 640
. Image Height - up to 480
. Pixel Depth - 8 if Mapped; 16 if RGB 16; 24 if RGB 24
. Image Descriptor - 0
* Image ID - Not included.
* Color-Map Data - Only included if Mapped, and then in BGR order.
* Image Data - If RGB 16 or RGB 24, in BGR order; if Mapped, map index.
=======================================================================
AVC Support for BMP
The AVC will read a subset of OS/2 BMP images. The AVC will write
two different "types" of OS/2 BMP images.
------------------------------------------------------------------------
Input Support
* Type - Type of file. Supports IBM.
* Size - Size of file. Not used.
* X Hotspot - Not Used.
* Y Hotspot - Not Used.
* Data Offset - Must point to image data.
* Info Length - Not Used.
* Image Width - AVC image pel width.
* Image Length - AVC image pel height.
* Planes - Supports 1.
* Bit Count - Supports 1, 4, 8, 24.
* Map - Used if mapped image.
------------------------------------------------------------------------
Output Support
* Type - BM.
* Size - Size of file.
* X Hotspot - 0.
* Y Hotspot - 0.
* Data Offset - Points to Image Data.
* Info Length - 0x0C.
* Image Width - Up to 640.
* Image Length - Up to 480.
* Planes - 1.
* Bit Count - 4 or 8 if Mapped; 24 if RGB 24.
* Map - Used if mapped image.
=======================================================================
AVC Support for TIFF
AVC supports a subset of the TIFF Specification Revision 5.0 (Final).
The AVC will read a wide range of TIFF images, including Intel and
Motorola formats. The AVC will write three different "types"
of TIFF images, all in Intel format.
------------------------------------------------------------------------
Input Support
General
* File Format - Intel and Motorola formats.
* TIFF version number - 0x002a (required).
* For fields where both short and long values are permitted, AVC
supports both types.
Basic Fields
* BitsPerSample (258) - Default 1. Supports 1,4,8,(5,6,5),(8,8,8).
Other values are not supported.
* ColorMap (320) - AVC Supports.
* ColorResponseCurves (301) - AVC Ignores.
* Compression (259) - Default 1. Supports 1,2,3,4. LZW and
Packbits are not supported.
* GrayResponseCurve (291) - AVC Ignores.
* GrayResponseUnit (290) - AVC Ignores.
* ImageLength (257) - Supports input of <= 0xFFFF. AVC sizing
routines may limit further.
* ImageWidth (256) - Supports input of <= 0xFFFF. AVC sizing
routines may limit further: BW-4800, Grayscale-3200, RGB-3200.
* NewSubfileTypes (254) - Default 0. AVC Ignores.
* PhotometricInterpretation (262) - Default 1. Supports 0,1,2,3.
0 and 1 are treated equally. Transparency mask not supported.
* PlanarConfiguration (284) - Default 1. Supports 1. Separate sample
planes are not supported.
* Predictor (317) - Default 1. AVC Ignores.
* ResolutionUnit (296) - Default 2. AVC Ignores.
* RowsPerStrip (278) - AVC Ignores.
* SamplesPerPixel (277) - Default 1. Supports 1,3.
* StripByteCounts (279) - AVC Ignores.
* StripOffsets (273) - AVC requires. Supports only 1 strip.
* XResolution (282) - Default 1.
* YResolution (283) - Default 1.
Informational Fields
* Artist (315) - AVC Ignores.
* DateTime (306) - AVC Ignores.
* HostComputer (316) - AVC Ignores.
* ImageDescription (270) - AVC Ignores.
* Make (271) - AVC Ignores
* Model (272) - AVC Ignores.
* Software (305) - AVC Ignores.
Facsimile
* Compression (259) - See Basic Fields, Compression (259).
* Group3Options (292) - AVC Ignores.
* Group4Options (293) - AVC Ignores.
Document Storage and Retrieval Fields
* DocumentName (269) - AVC Ignores.
* PageName (285) - AVC Ignores.
* PageNumber (297) - AVC Ignores.
* XPosition (286) - Default 0.
* YPosition (287) - Default 0.
No Longer Recommended Fields
* CellLength (265) - AVC Ignores.
* CellWidth (264) - AVC Ignores.
* FillOrder (266) - AVC Ignores.
* FreeByteCounts (289) - AVC Ignores.
* FreeOffsets (288) - AVC Ignores.
* MaxSampleValue (281) - Default 0.
* MinSampleValue (280) - Default 0.
* SubfileType (255) - AVC Ignores.
* Orientation (274) - AVC Ignores.
* Thresholding (263) - AVC Ignores.
------------------------------------------------------------------------
Output Support
General
* File Format - Intel Format
* TIFF version number - 0x002a (required).
* Output is one of three types:
. Mapped
. RGB 565
. RGB 888
* Basic Fields:
. BitsPerSample (258) - Mapped - 4,8; RGB 565 - 5,6,5;
RGB 888 - 8,8,8
. ColorMap (320) - Mapped only.
. Compression (259) - No Compression - 1.
. Image Length (256) - up to 640.
. NewSubfileTye (254) - Output with no data.
. PhotometricInterpretation (262) - Mapped - 3; RGB - 2.
. PlanarConfiguration (284) - RGB format - 1.
. ResolutionUnit (296) Inch - 2.
. RowsPerStrip (278) - ImageLength.
. SamplesPerPixel (277) - Mapped - 1; RGB - 3.
. StripByteCounts (279) - ImageWidth x ImageLength.
. StripOffsets (273) - AVC supports only 1 strip.
. XResolution (282) - X Aspect Ratio.
. YResolution (283) - Y Aspect Ratio.
=======================================================================
AVC Support for IOCA 6.0
AVC supports a subset of the IOCA Specification Revision 6.0 (Final).
The AVC will read a wide range of IOCA images. The AVC will write two
different "types" of IOCA images.
Note: 0x00 represents hexadecimal 00.
------------------------------------------------------------------------
Input Support
* Begin Segment Name - optional. AVC does not use this.
* Begin Image Content
. IOCA image object - 0xFF IOCA (required)
* Image Size Parameter
. Unit base - Supports 0x00, 0x01, 0x02. Used to convert horizontal
and vertical resolution to AVC x and y aspect ratios.
. Horizontal resolution - Converted to AVC image x aspect ratio.
. Vertical resolution - Converted to AVC image y aspect ratio.
. Horizontal resolution - AVC image pel width.
. Vertical size - AVC image pel height.
* Image Encoding Parameter
. Compression Algorithm - Default 0x03 No compression. Supports
0x01 IBM MMR and 0x03 No compression. Other compressions not
supported.
. Recording Algorithm - Default 0x01 RIDIC. Supports 0x01 RIDIC.
All other values not supported.
* Image IDE Size Parameter
. Bits per IDE - Default 1 bit. Supports 1, 8, 16, 24. Does not
support 4-bit. If RGB color format specified, only supports
16 and 24 bits.
* Image LUT-ID Parameter
. Look-up Table ID - AVC does not do anything with this parameter.
It does not support mapped IOCA images, because the map is not
included with the image.
* IDE Structure Parameter
. Additive or Subtractive - 0x00 Additive. No others supported.
. Color format - Default 00x00 BW. Supports 0x00 BW, 0x01 RGB,
and 0x02 Grayscale. No others are supported.
. Number of bits for Element 1 - Default 1
. Number of bits for Element 2 - Default 0
. Number of bits for Element 3 - Default 0
* End Image Content
* End Segment
------------------------------------------------------------------------
Output Support
* Begin Segment
. Image Segment Name - not specidied; length 0x00.
* Begin Image Content
. IOCA image object - 0xFF IOCA (required).
* Image Size Parameter
. Unit base - 0x00 ten inches
. Horizontal resolution - AVC image (x aspect ratio) X (10).
. Vertical resolution - AVC image (y aspect ratio) X (10).
. Horizontal resolution - AVC image pel width.
. Vertical size - AVC image pel height.
* Image Encoding Parameter
. Compression Algorithm - 0x03 no compression.
. Recording Algorithm - 0x01 RIDIC.
* Image IDE Size Parameter
. Bits per IDE - 16 or 24, depending on RGB 5:6:5 or RGB 8:8:8
selected.
* Image LUT-ID Parameter
. Look-Up Table ID - 0x00 no look-up table.
* IDE Structure Parameter
. Additive or Subtractive - 0x00 additive
. Color format - 0x01 RGB.
. Number of bits for Element 1-5 or 8, depending on RGB 5:6:5 or
RGB 8:8:8 selected.
. Number of bits for Element 2-6 or 8, depending on RGB 5:6:5 or
RGB 8:8:8 selected.
. Number of bits for Element 3-5 or 8, depending on RGB 5:6:5 or
RGB 8:8:8 selected.
* End Image Content
* End Segment
=======================================================================