ISIS Tags
These ISIS Scanner Driver Tags are used to retrieve and set information concerning the scanner and scanning options. They are set using the ISISSetTag method and retrieved using the ISISGetTag method. Possible tags are given below. Not all tags are supported by all drivers and not all values are supported by all drivers. For more information on using ISIS, refer to Using ISIS to Scan Images.
Value |
Meaning |
TAG_XRESOLUTION |
[0x011A] Gets or sets the horizontal resolution in PixelsPerInch. |
TAG_YRESOLUTION |
[0x011B] Gets or sets the vertical resolution in PixelsPerInch. |
TAG_FEEDER |
[0x0503] [Read Only] Gets information about the scanner's flatbed and/or feeder. Values may be: |
|
TAG_FEEDER_FEED [0x00000001L] Scanner has feeder. |
|
TAG_FEEDER_FLAT [0x00000002L] Scanner has flatbed. |
|
TAG_FEEDER_TELLFLAT [0x00020000L] Can detect page on flatbed. |
|
TAG_FEEDER_TELLFEED [0x00010000L] Can detect page in feeder. |
|
TAG_FEEDER_TELLSCAN [0x00040000L] Can only detect by committing. |
|
TAG_FEEDER_CENTERFEED [0x00080000L] Can center page in feeder. |
|
TAG_FEEDER_CENTERFLAT [0x00100000L] Can detect if page is centered in flatbed. |
TAG_XPOSITION |
[0x011E] Gets or sets distance from left edge of page to start of image in pixels. |
TAG_YPOSITION |
[0x011F] Gets or sets distance from top edge of page to start of image in pixels. |
TAG_IMAGELENGTH |
[0x0101] Gets or sets the number of rows (height) of the image in pixels. |
TAG_IMAGEWIDTH |
[0x0100] Gets or sets the number of columns (width) of the image in pixels. |
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 TAG_SAMPLESPERPIXEL, TAG_BITSPERSAMPLE and TAG_PHOTOMETRICINTERPRETATION, and the corresponding color format are given below.
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. |
|
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 |