(Page 8 of 13 in this chapter)


2.7 Performing Image Format Conversions

NaturalFax uses TIFF-F image files only. TIFF-F files (Tagged Image File Format for Fax) have a graphics file format characterized by the use of "tags" to specify the format of the file and the end-of-line (EOL) indication is byte-aligned.

This section explains the important characteristics of an image's format and how the format may change as various NaturalFax operations are performed.

2.7.1 Image Characteristics

In a TIFF-F file, there are three basic characteristics of the image data:

NaturalFax supports two encoding formats:

A fax terminal may support only 1D or it may support both 1D and 2D encoding types. A terminal may not support only 2D encoding. The conversion between 1D and 2D encoding is a one-to-one-mapping; no information is lost either way and the two images appear identical.

A 1D image consumes more data space than does the equivalent 2D image. Encoding and decoding a 2D image consumes more processor execution time. A local error in a 1D image affects a single line. An error in a 2D image may affect several subsequent lines as well. The 1D and 2D differences are summarized in the following table:

Uses less data space

Requires less
execution time

Local error

Image quality

1D

X

affects a single line

identical

2D

X

may affect multiple lines

identical

NaturalFax supports three resolution formats:

A fax terminal may support only LOW resolution, both LOW and HIGH resolution, or all three resolution values. When converting from higher to lower resolution, information is lost. The resultant image is more compact which saves storage space and transmission time. When converting from higher to lower resolution, NaturalFax favors black to prevent the loss of thin black lines.

NaturalFax can convert from lower to higher resolution by duplicating lines. However, conversion from lower to higher makes little sense since the additional redundant information does not improve image quality and requires more storage space and transmission time.

NaturalFax supports the following page width formats:

A fax terminal may support only A4, both A4 and B4, or all three page width values. When converting from a wider to a narrower page, information is lost. The resultant image is more compact which saves storage space and transmission time. NaturalFax shrinks lines to fit so that the image is not cut off. Black is favored on shrinkage to prevent the loss of thin black lines.

NaturalFax can convert from narrower to wider by appending white space.

2.7.2 Image Conversions

Each image in a TIFF-F file has a specific set of values for the image characteristics. During transmission, the image characteristics of the file may be different from the values of the image being sent or received. There are several reasons why format conversion may occur:



(Page 8 of 13 in this chapter)


tech_support@nmss.com
Copyright © 1997, Natural MicroSystems, Inc. All rights reserved.