ImageMan ActiveX
TIFF Image Format

Description

Tagged image file format, one of the most widely supported file formats for storing bit-mapped images on personal computers (both PCs and Macintosh computers).

Import Library

im8tif.dil

Export Library

 im8xtif.del

Remarks

Supports reading and writing 1 bit, 4, 8, and 24 bit color, CMYK, black and white and grayscale Multipage and single page images. The supported compression types include Packbits and LZW for color, Modified CCITT, and CCITT Group 3 and Group 4 Fax for b/w only.

Attributes

Read and Write

Name

Data Type

Notes

EXTENSION

String

"TIF"

 

ARTIST

String

SOFTWARE

String

COPYRIGHT

String

DESCRIPTION

String

TITLE

String

COMPRESS

String

If set to false, will be overridden it TIFF_COMPRESS is defined

TIFF_COMPRESS

String

NONE (default) | MODCCITT | PACKBITS | GROUP3 | GROUP4 | LZW | JPEG_DCT | XT | CCITTRLEW | THUNDERSCAN | IT8CTPAD | IT8LW | IT8MP | IT8BL | DEFLATE | ADOBE_DEFLATE

This attribute will be defined as the default value unless specifically defined.

 

This specifies what compression method to use on bi-level images. Colors images are only compressed using the LZW compression method. The PACKBITS compression is a simple run length encoding method with moderate compression. The MODCCITT compression uses Huffman encoding to perform good compression. The GROUP3 option is the CCITT Group 3 Fax compression and yields the same compression ratios as the MODCCITT compression. GROUP4 is the CCITT Group 4 fax compression standard, and provides the best compression ratio.

 

The default compression is PACKBITS for bi-level images and color images, unless you have a license agreement with UNISYS. In that case the default compression for color images is LZW.

 

TIFF_ROWSPERSTRIP

Int32

This attribute will be defined as the default value unless specifically defined.

Range from 1 to image height

This specifies the number of image lines that should be written in each strip of a TIFF image. By default ImageMan will create strips about 8K in length which is the recommended size. Normally you would not need to change this option.

 

TIFF_FILLORDER

Int32

Controls wether bits in a byte are written LSB->MSB (1) or MSB->LSB (2)

This specifies that the bits in a byte should be written in reverse order. This is often required for files that are to be faxed.

 

TIFF_NEWSUBFILETYPE

Int32

This specifies the value of the NEWSUBFILETYPE tag that is written in the file. The default value is 0, which is appropriate for most files. A value of 2, which indicates the file is part of a multi-page document, is required for some fax files.

 

TIFF_BYTEFORMAT

String

"MOTOROLA" | "INTEL"(default) Motorola or Intel byte ordering

TIFF_PHOTOMETRICINTERP

Int32

This attribute will be defined as the default value unless specifically defined.

This specifies the color model used when writing the image data. The default is RGB.

0

white is zero

1

black is zero

2

RGB

3

RGB Palette

4

Transparency Mask

5

CMYK

6

YCbCr (unsupported)

7

CIELab (unsupported)

 

TIFF_TAG_%d

ANYTYPE

This attribute is not automatically loaded

 May use any type and possibly an array of any type where %d is the tag number

 

Write Only

TIFF_XRES

Int32

This specifies the xresolution of the TIFF image.

XResolution by default will get and set info from DIB header

 

TIFF_YRES

Int32

This specifies the xresolution of the TIFF image.

YResolution by default will get and set info from DIB header

 

TIFF_PAGES

Int32

Total pages in file (write only) exposed in ImageMan properties

This specifies the number of pages that will be written in the file and causes the PAGENUMBER tag to be added to the file. This tag is generally used for fax files and some fax programs require this tag to be present in files to be faxed. You must specify this tag for each page of the file to be written and the value must equal the total number of pages that will be in the file. We do not validate this value so if the number doesn't equal the number of pages in the file other software may not be able to process the file correctly.

 

SOURCE

String

Maps to SOFTWARE

AUTHOR

String

Maps to ARTIST

COMMENT

String

Maps to DESCRIPTION

DOCUMENT

String

Maps to TITLE

 

 

 

 

 


© 2014 Data Techniques, Inc. All rights reserved.

Submit feedback on this topic