ISIS short tags

These ISIS Scanner Driver Tags are used to retrieve and set information concerning the scanner. They are retrieved and set using LIsis::GetTagShort and LIsis::SetTagShort. Possible tags are given below. Not all tags are supported by all drivers and not all possible values are supported by all drivers. For more information on using ISIS, refer to Using ISIS to Scan Images.

 

Value

Meaning

TAG_SAMPLESPERPIXEL

[0x0115] Samples per pixel of the scanned image.

TAG_BITSPERSAMPLE

[0x0102] Bits per pixel of the scanned image.

TAG_PHOTOMETRICINTERPRETATION

[0x0106] Indicates whether the image should be interpreted as grayscale or color. Possible values are:

 

TAG_PHOTOMETRIC_WHITE0 [0x0000] binary - 0 represents white

 

TAG_PHOTOMETRIC_WHITE1 [0x0001] binary - 1 represents white

 

TAG_PHOTOMETRIC_RGB [0x0002] RGB

 

TAG_PHOTOMETRIC_PALETTE [0x0003] PALLETTE

 

TAG_PHOTOMETRIC_BGR [0x0120] BGR

Settings for these tags and the corresponding color format are given below.

image\isistag.gif

 

TAG_SCANORIENTATION

[0x0113] [Read Only] Orientation of the page in the scanner's feeder. Values can be:

 

TAG_SCANORIENTATION_PORT [0x0001] portrait.

 

TAG_SCANORIENTATION_LAND [0x0002] landscape.

 

TAG_SCANORIENTATION_180 [0x0003] upside-down portrait.

 

TAG_SCANORIENTATION_270 [0x0004] upside-down landscape.

 

TAG_SCANORIENTATION_PORTM [0x0005] portrait mirrored.

 

TAG_SCANORIENTATION_LANDM [0x0006] landscape mirrored.

 

TAG_SCANORIENTATION_180M [0x0007] upside-down portrait mirrored.

 

TAG_SCANORIENTATION_270M [0x0008] upside-down landscape mirrored.

 

 

TAG_SCANTYPE

[0x0514] Specifies the scanning source. Possible values are:

 

TAG_SCANTYPE_AUTOMATIC [0x0000] default - scan from ADF if pages are detected, otherwise scan from flatbed

 

TAG_SCANTYPE_TRANSPARENCY [0x0001] scan from the transparency unit

 

TAG_SCANTYPE_FLATBED [0x0002] scan from the flatbed

 

TAG_SCANTYPE_FEEDER [0x0003] scan only the front side of the page from the feeder

 

TAG_SCANTYPE_FRONTONLY [0x0003] scan only the front side of the page from the feeder

 

TAG_SCANTYPE_DUPLEX [0x0004] scan in duplex mode from the feeder

 

TAG_SCANTYPE_FRONTBACK [0x0004] scan in duplex mode from the feeder

 

TAG_SCANTYPE_BACKFRONT [0x0005] scan in duplex and return back side of the page first from the feeder

 

TAG_SCANTYPE_BACKONLY [0x0006] scan only the back side of the page from the feeder

TAG_SCANAHEAD

[0x050d] State of the ScanAhead feature of the scanner. Possible values are:

 

TAG_SCANAHEAD_NO [0x0000] ScanAhead not enabled.

 

TAG_SCANAHEAD_YES [0x0001] ScanAhead enabled.

 

 

TAG_SCANAHEAD_MAXPAGES

[0x057c] Gets or sets the number of pages to buffer.

 

 

TAG_MAXPAGES

[0x0504] [Read Only] Gets the number of pages the ADF can hold.

 

 

TAG_COMPRESSION

[0x0103] Gets or sets the type of compression to use, if the scanner supports compression. Possible values are:

 

TAG_COMPRESSION_NONE [0x0001] No compression

 

TAG_COMPRESSION_MG3 [0x0002] CCITT compression

 

TAG_COMPRESSION_G3 [0x0003] CCITT G3 1-DIM

 

TAG_COMPRESSION_G4 [0x0004] Standard G4

 

TAG_COMPRESSION_LZW [0x0005] LZW compression

 

TAG_COMPRESSION_JPEG [0x0006] JPEG compression, not supported by LEAD.

 

TAG_COMPRESSION_32771 [0x8003] Packbits compression

 

TAG_COMPRESSION_PACK [0x8005] Packbits compression, not supported by LEAD.

 

TAG_COMPRESSION_JBIG [0x8765] JBIG compression, not supported by LEAD.

 

TAG_COMPRESSION_PCX [0xC350] PCX compression, not supported by LEAD.

 

TAG_COMPRESSION_4BYTE [0xC351] No compression, not supported by LEAD.

 

TAG_COMPRESSION_GIF [0xC355] GIF compression, not supported by LEAD.

 

TAG_COMPRESSION_BMP [0xC356] BMP compression, not supported by LEAD.

 

 

TAG_CONTRAST

[0x0501] Gets or sets the contrast value if scanner supports it. Possible values are:

 

TAG_CONTRAST_AUTO [0x0000] AutoContrast or no support

 

> 0 Specific Contrast setting

 

 

TAG_BRIGHTNESS

[0x0502] Gets or set the brightness value. Possible values are:

 

TAG_BRIGHTNESS_AUTO [0xFFFFFFFD] AutoBrightness control

 

TAG_BRIGHTNESS_DARKEN [0xFFFFFFFE] Lighten page relative to TAG_BRIGHTNESS_NORM

 

TAG_BRIGHTNESS_NORM [0xFFFFFFFF] Selects "normal" brightness

 

TAG_BRIGHTNESS_LIGHTEN [0x00000000] Darken page relative to TAG_BRIGHTNESS_NORM.

 

Some scanners also support values 1 - 127.

 

 

TAG_GAMMA

[0x050f] Gets or sets the Gamma Curve Adjustment value. Possible values are:

 

TAG_GAMMA_AUTO [0x0000] AutoGammaCorrection

 

TAG_GAMMA_DOWNLOAD1 [0x0001] 1st gamma correction table

 

TAG_GAMMA_DOWNLOAD2 [0x0002] 2nd gamma correction table

 

TAG_GAMMA_DOWNLOAD3 [0x0003] 3rd gamma correction table

 

TAG_GAMMA_DOWNLOAD4 [0x0004] 4th gamma correction table

 

TAG_GAMMA_DOWNLOAD5 [0x0005] 5th gamma correction table

 

TAG_GAMMA_DOWNLOAD6 [0x0006] 6th gamma correction table