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