January 17, 2018, 05:15:38 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How can I change the image resolution for the SS Pro/Value/Adaptive?  (Read 1912 times)
Erik Wesemann
Administrator
Jr. Member
*****
Posts: 54


View Profile
« on: June 22, 2012, 01:53:22 PM »

For Ranger for SS Pro/Value/Adaptive v2.X.X.X (CAPI):

The setting below will change the bitonal and grayscale image resolution.  Grayscale resolution will be half the bitonal.

The option needs to be set through the Ranger driver option or it will be overwritten to a value of 1.  See below:

CapiOption.ini
[CAPI INI]
IMAGE.GENERAL.200DPI=0
//see below for options

This setting is copied to the file below but this file is overwritten by Ranger so you must use the option above.

CapiImage.ini
[GENERAL]
// 200DPI
// (Applies only to the SNDP and SS Expert/Pro/Value.)
// This specifies that images are scaled from 240 to 200
// DPI.  This applies to all images.  
//(Only valid for SNDPs manufactured after Nov 2003
// using CAPI 7.0 or higher).
// The following values can be selected:
//  0 = 240 DPI (Default)
//  1 = 200 DPI
200DPI=0


It is best practice that the application set these options programatically:

m_Ranger.SetDriverOption("CAPI INI", "IMAGE.GENERAL.200DPI", "0");




To set grayscale images at full resolution, set the following driver options:

[Image.UIMFRONTIMG3]
//
// COMPRESSIONTYPE
//  0 = Disabled
//  5 = Full Resolution JPEG
// 15 = Full Resolution JPEG
// 16 = Full Resolution JPEG Ultraviolet Inverted
// The default is 0.
COMPRESSIONTYPE=5

//TREATSNIPPETASIMAGE
// 0 = Snippet is obtained via passthrough calls (default).
//
// 1 = COMPRESSIONTYPE will determine in
//           which image buffer the snippet will be stored.
//           5 - Snippet will be stored in GS buffer
//           15-16 Snippet will be stored in UV buffer.
//The default is 0.
TREATSNIPPETASIMAGE=1

[Image.UIMREARIMG2]
   //
   //Compression type
   //    0 = disabled
   //    3 = JPEG
   //    5 = Full Resolution JPEG
   //
COMPRESSIONTYPE=5

[CAPI INI]
IMAGE.GENERAL.200DPI = 1


It is best practice that the application set these options programatically:

m_Ranger.SetDriverOption("Image.UIMFRONTIMG3", "COMPRESSIONTYPE", "5");
m_Ranger.SetDriverOption("Image.UIMFRONTIMG3", "TREATSNIPPETASIMAGE", "1");
m_Ranger.SetDriverOption("Image.UIMREARIMG2", "COMPRESSIONTYPE", "5");
m_Ranger.SetDriverOption("CAPI INI", "IMAGE.GENERAL.200DPI", "1");



Ranger® - The universal check scanner interface
Copyright © 2017 Silver Bullet Technology
www.sbullet.com
« Last Edit: April 07, 2017, 11:45:08 AM by Frank Palmasani » Logged
Frank Palmasani
Administrator
Newbie
*****
Posts: 22


View Profile
« Reply #1 on: April 07, 2017, 11:11:38 AM »

For Ranger for SS Pro/Value/Adaptive v4.0.0.0+ (Smart PVA):

The setting below will change the bitonal and grayscale image resolution.  By default, grayscale resolution will be half the bitonal resolution.


Burroughs-SmartPVA.ini
[Image.GENERAL]
// 200DPI
// (Applies only to the SNDP and SS Expert/Pro/Value.)
// This specifies that images are scaled from 240 to 200
// DPI.  This applies to all images.  
//(Only valid for SNDPs manufactured after Nov 2003
// using CAPI 7.0 or higher).
// The following values can be selected:
//  0 = 240 DPI
//  1 = 200 DPI (Default)
// Note: Grayscale images come at half resolution unless
// specified otherwise with the Compression type.  Rear
// grayscale images must use the snippet for full resolution
200DPI=1


It is best practice that the application set these options programatically:

m_Ranger.SetDriverOption("Image.GENERAL", "200DPI", "1");



The front grayscale can be set to match the bitonal grayscale by setting the following option to 5. TREATSNIPPETASIMAGE must also be set to '1' in order to utilize this functionality.

Burroughs-SmartPVA.ini [Image.UIMFRONTIMG3]
//
// COMPRESSIONTYPE
//  0 = Disabled
//  5 = Full Resolution JPEG
// 15 = Full Resolution JPEG Ultraviolet
// 16 = Full Resolution JPEG Ultraviolet Inverted
// The default is 0.
COMPRESSIONTYPE=0

//TREATSNIPPETASIMAGE
// 0 = Snippet is obtained via passthrough calls (default).
//
// 1 = COMPRESSIONTYPE will determine in
//          which image buffer the snippet will be stored.
//          5 - Snippet will be stored in GS buffer
//          15-16 Snippet will be stored in UV buffer.
//The default is 0.
TREATSNIPPETASIMAGE=0

The rear grayscale can be set to match the bitonal grayscale by setting the following option to 5.

[Image.RearGrayscale]
   //
   //Compression type
   //    3 = JPEG
   //    5 = Full Resolution JPEG
   //The default is 3.
COMPRESSIONTYPE=5

It is best practice that the application set these options programatically:

m_Ranger.SetDriverOption("Image.UIMFRONTIMG3", "COMPRESSIONTYPE", "0");
m_Ranger.SetDriverOption("Image.UIMFRONTIMG3", "TREATSNIPPETASIMAGE", "0");
m_Ranger.SetDriverOption("Image.RearGrayscale", "COMPRESIONTYPE", "5");


Ranger® - The universal check scanner interface
Copyright © 2017 Silver Bullet Technology
www.sbullet.com
« Last Edit: April 07, 2017, 11:44:46 AM by Frank Palmasani » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!