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.
1) Set up the appropriate generic options:
In the generic options file at "C:\ProgramData\Silver Bullet Technology\Ranger\Scanner Plug-ins\Burroughs-SmartPVA\GenericOptions.ini" see the following options:
[OptionalDevices]
NeedImaging=true
NeedFrontImage2 =true
NeedRearImage2=true
2) Set up the necessary driver options:
In the driver options file at "C:\ProgramData\Silver Bullet Technology\Ranger\Scanner Plug-ins\Burroughs-SmartPVA\Burroughs-SmartPVA.ini" see the following options:
[Image.FrontGrayscale]
//
//Compression type
// 3 = JPEG
// 20 = Grayscale Bitmap
// 21 = Grayscale PNG
//The default is 3.
COMPRESSIONTYPE=3
[Image.RearGrayscale]
//
//Compression type
// 3 = JPEG
// 5 = Full Resolution JPEG
// 20 = Grayscale Bitmap
// 21 = Grayscale PNG
//The default is 3.
COMPRESSIONTYPE=3
[Image.GENERAL]
//JpegTiffWrapped
//Determines whether grayscale jpeg images are tiff wrapped
// false - not tiff wrapped
// true - tiff wrapped (default)
JpegTiffWrapped=false
3) See the below code example to set these options programatically:
SetGenericOption("OptionalDevices", "NeedImaging", "true");
SetGenericOption("OptionalDevices", "NeedFrontImage2", "true");
SetGenericOption("OptionalDevices", "NeedRearImage2", "true");
SetDriverOption("Image.FrontGrayscale", "COMPRESSIONTYPE", "3");
SetDriverOption("Image.RearGrayscale", "COMPRESSIONTYPE", "3");
SetDriverOption("Image.GENERAL", "JpegTiffWrapped", "false");