TIFF correction rule operations
When a TIFF image is corrected, a list of the corrections that were made to the image is placed in its TIFF
image description tag (TIFF tag 270). The list consists of one or more of the correction operation values that
are shown in the following table. If more than one correction was made to the image, the correction operation
values are separated by spaces. For example, if TIFF correction sorted the TIFF tags in ascending order and
also removed any additional image file directories, the TIFF image description tag is: TAG_ORDER
SINGLE_PAGE.
| Name | Parameters | Correction operation values for the image description tag | Description | TIFF rule test operations |
|---|---|---|---|---|
| Convert Multistrip | This operation does not support parameters. | MULTI_STRIP | Convert a multiple strip image into a single strip image. |
|
| Sort Tags Ascending | This operation does not support parameters. | TAG_ORDER | Sort the TIFF tags in ascending order. |
|
| Strip Additional IFDs | This operation does not support parameters. | SINGLE_PAGE | Remove additional image file directories (IFD) if they are present. |
|
| Convert Tags to Little Endian | This operation does not support parameters. | ENDIAN | Convert all the TIFF tags to little endian format. |
|
| Strip Subfiletype Tag #255 | This operation does not support parameters. | DEPR_SUBF | Remove the deprecated SubfileType tag (TIFF tag 255) and the PageNumber tag (TIFF tag 297) from the image. | |
| Resolution Unit Tag to Inches | This operation does not support parameters. | XY_RES_UNIT | Change the ResolutionUnit tag to be inches when the X and Y resolution tags have standard values of 200 or 240. |
|
| Resolution Tag Values | Specify the acceptable resolution values for the corrected image. If more than one
resolution value is acceptable, use spaces to separate the values. For example, 200
240. |
XY_RES | Correct the values of the X and Y resolution tags. Images with X and Y resolution tag values that are not 200 or 240 are corrected. The correct resolution is determined by running the Image Compliance image quality analysis tests for each of the resolution values that are specified in the parameters. The tags are set to the resolution that produces the best image quality analysis score. |
|
| Reverse Image Fill Order | This operation does not support parameters. | FILL_ORD_REVERSED | When the FillOrder tag is two, reverse the fill order of the image and change the value of the FillOrder tag to one. |
|
| Change Tag Value #266 to 1 | This operation does not support parameters. | FILL_ORD_TAG_VAL | Change the value of the FillOrder tag to one. The image is not changed. |
|
| Change Tag #254 Type to long | This operation does not support parameters. | NEW_SUBF_BAD_TYPE | Change the type of the NewSubfileType tag to long. |
|
| Reset bit 0 NewSubfileType Tag | This operation does not support parameters. | NEW_SUBF_LOW_RES | Reset the bit in the NewSubfileType tag that indicates this image is a reduced resolution version of another image in the TIFF file. |
|
| Reset bit 1 NewSubfileType Tag | This operation does not support parameters. | NEW_SUBF_MULTIPAGE | Reset the bit in the NewSubfileType tag that indicates this image is a single page of a multiple page image. |
|
| Reset bit 2 NewSubfileType Tag | This operation does not support parameters. | NEW_SUBF_TRANSPARENCY | Reset the bit in the NewSubfileType tag that indicates this image defines a transparency mask for another image in the TIFF file. |
|
| Change Tag #279 Type Based on Size | This operation does not support parameters. | STRIP_BYTE_COUNTS_TYPE | Based on the actual length of the image, correct the type for the StripByteCounts tag. |
|
| Add Missing EOFB | This operation does not support parameters. | EOFB_MISSING | Add any end of facsimile blocks (EOFB) that are missing. |
|
| Fix Tag #278 rows per strip value | This operation does not support parameters. | ROWS_PER_STRIP | For single strip images, set the RowsPerStrip tag to the value that is in the ImageLength tag. |
|
| Fix Tag #266 fill order tag type to SHORT | This operation does not support parameters. | FILL_ORDER_TAG_TYPE | Change the type of the FillOrder tag to short. |
|
| Set Photometric Interpretation to 0 | Specify a percentage from 0 - 100. | PHMETRIC | The photometric interpretation TIFF tag (tag 262) value is corrected and the image is
inverted when the following conditions are met.
|
N/A |
| Transcode to G4 Compression | This operation does not support parameters. | TRANSCODE_TO_G4 | The image is decompressed and recompressed by using the CCITT Group 4 G4 (4)
compression algorithm when the following conditions are met.
|
|
| Orient TopLeft | This operation has the following parameter values.
|
|
When the following conditions are met, the image is decompressed, reoriented, and
recompressed in the TopLeft orientation (a value of 1).
|
|
| Photometric Int. value type ASCII | This operation does not support parameters. | PHOTOMETRIC_TAG_TYPE | When the photometric interpretation TIFF tag (tag 262) has a type of ASCII (2), the
value is tested to determine whether it is represented as ASCII text. ASCII values consist of bytes with
values in the range 0x30 - 0x39. If the value is ASCII, it is converted to a binary value and the tag type is set to short (3). If the value is not ASCII, just the type is set to short. |
|
| Orientation value type ASCII | This operation does not support parameters. | ORIENTATION_TYPE | When the orientation TIFF tag (tag 274) has a type of ASCII (2), the value is tested to
determine whether it is represented as ASCII text. ASCII values consist of bytes with values in the range 0x30
- 0x39. If the value is ASCII, it is converted to a binary value and the tag type is set to short (3). If the value is not ASCII, just the type is set to short. |
|
| Resolution Unit value type ASCII | This operation does not support parameters. | XY_RES_UNIT_TYPE | When the resolution unit TIFF tag (tag 296) has a type of ASCII (2), the value is tested
to determine whether it is represented as ASCII text. ASCII values consist of bytes with values in the range
0x30 - 0x39. If the value is ASCII, it is converted to a binary value and the tag type is set to short (3). If the value is not ASCII, just the type is set to short. |
|