How to get grayscale bitmap or PNG images with Ranger

How to get grayscale bitmap or PNG images with Ranger

As of release 4.3.1.0-2.0.31.0, RangerForSmartPVA supports grayscale bmp or png images.

In the .ini file located at C:\ProgramData\Silver Bullet Technology\Ranger\Scanner Plug-ins\Burroughs-SmartPVA\Burroughs-SmartPVA.ini
See the following options:
  1. [Image.FrontGrayscale]// Compression type
  2. //    3 = JPEG
  3. //    20 = Grayscale Bitmap
  4. //    21 = Grayscale PNG
  5. // The default is 3.
  6. COMPRESSIONTYPE=3

  7. [Image.RearGrayscale]
  8. // Compression type
  9. //    3 = JPEG
  10. //    5 = Full Resolution JPEG
  11. //    20 = Grayscale Bitmap
  12. //    21 = Grayscale PNG
  13. // The default is 3.
  14. COMPRESSIONTYPE=3
These options must be set to the appropriate image type. In addition, the generic options to enable grayscale images must be set.

  1. [OptionalDevices]
  2. NeedFrontImage2 =true
  3. NeedRearImage2 =true
Please see the following code example for enabling these options to get grayscale PNG for front and rear:
  1. SetGenericOption("OptionalDevices", "NeedFrontImage2", "true");
  2. SetGenericOption("OptionalDevices", "NeedRearImage2", "true");
  3. SetDriverOptions("Image.FrontGrayscale", "COMPRESSIONTYPE", "21");
  4. SetDriverOptions("Image.RearGrayscale", "COMPRESSIONTYPE", "21");
Please note that these driver options will not work in conjunction with some other driver options

The following options must be 0 (default)
  1. [Image.UIMFRONTIMG3]
  2. TREATSNIPPETASIMAGE=0

  3. [Image.FrontColor]
  4. COMPRESSIONTYPE=0

  5. [Image.RearColor]
  6. COMPRESSIONTYPE=0

Ranger® - The universal check scanner interface
Copyright © 2023 Silver Bullet Technology
www.sbullet.com


    • Related Articles

    • Why are my grayscale images JPEG wrapped in a TIFF header?

      SmartSource default grayscale format is TIFF wrapped JPEG. Other formats are supported, including JPEG, shown below. As of release 4.4.1.0-2.0.34.0, RangerForSmartPVA has an option to strip the TIFF header from the JPEG grayscale images. Set up the ...
    • Why can I not view tiff images from Ranger in the Windows XP operating system?

      The image viewer in Windows XP will not display JPEG (in TIFF) images. Options for working around this issue include the use of another image viewer that supports this image type or changing the image format used for grayscale images. IrfanView is an ...
    • Which check scanners can produce ultraviolet (UV) images?

      Ranger supports capturing ultraviolet (UV) images when UV cameras are installed on the check scanner. Specific image capture choices, such as grayscale or color image capture, may affect the scanner's availability to capture UV images. Check with the ...
    • How do I get a Digital Check log with Ranger?

      To capture a Ranger for DCC log: DCCOptions.ini OR DigitalCheck-TSSeries.ini (depending on the version) [Misc] DelayTS200=2 Logging must be enabled in the driver options file by using the setting above: Download and run Debug View. The download can ...
    • Why are images not being displayed in the html browser application?

      Some image formats are not supported by all browsers. For reference to image formats and the browsers that support them: https://en.wikipedia.org/wiki/Comparison_of_web_browsers#cite_note-TIFF-220 To display all images you can: Set driver options to ...