Difference between revisions of "BackendLib"

From Scantegrity Wiki

(Receipt Symbol Masking)
Line 1: Line 1:
 
==Printing Module==
 
==Printing Module==
  
===Receipt Symbol Masking===
+
===Invisible Ink Symbol Printing Module===
 +
 
 +
The Invisible Ink Symbol Printing (IISP) Module processes symbols and produces an image of the symbols with a background of reactive ink and a foreground (font color) or non-reactive (dummy) ink. The images produced by this module are embedded into ballot files that are printed on an invisible ink-capable printer. The generated images is straightforward, but the module has a number of
  
 
We need a module or set of functions that can takes font attributes, height/width, text data, and threshold values, then produces a bitmap where each pixel color is a random value within the given threshold for that pixel type.  
 
We need a module or set of functions that can takes font attributes, height/width, text data, and threshold values, then produces a bitmap where each pixel color is a random value within the given threshold for that pixel type.  
  
 
Another desired functionality is an overlay for a whitespace grid over an image with grid squares being a specified height and width in pixels, and the lines being a specified thickness.
 
Another desired functionality is an overlay for a whitespace grid over an image with grid squares being a specified height and width in pixels, and the lines being a specified thickness.
 +
 +
[[Image:InvisibleInkBlockExample.png|thumb|right|The reactive ink (yellow) and dummy ink (magenta) are base inks in the printer that are printed in contiguous blocks. When printed, the inks are indistinguishable from each other.]]
 +
 +
[[Image:Scantegrity_II_Ballot.jpg|thumb|right|Scantegrity II ballot and decoder pen.<br> <b>Left:</b> Unmarked optical scan bubble. <br><b>Right:</b> Marked optical scan bubble revealing confirmation code "FY".]]

Revision as of 16:57, 29 September 2008

Printing Module

Invisible Ink Symbol Printing Module

The Invisible Ink Symbol Printing (IISP) Module processes symbols and produces an image of the symbols with a background of reactive ink and a foreground (font color) or non-reactive (dummy) ink. The images produced by this module are embedded into ballot files that are printed on an invisible ink-capable printer. The generated images is straightforward, but the module has a number of

We need a module or set of functions that can takes font attributes, height/width, text data, and threshold values, then produces a bitmap where each pixel color is a random value within the given threshold for that pixel type.

Another desired functionality is an overlay for a whitespace grid over an image with grid squares being a specified height and width in pixels, and the lines being a specified thickness.

Error creating thumbnail: Unable to save thumbnail to destination
The reactive ink (yellow) and dummy ink (magenta) are base inks in the printer that are printed in contiguous blocks. When printed, the inks are indistinguishable from each other.
Error creating thumbnail: Unable to save thumbnail to destination
Scantegrity II ballot and decoder pen.
Left: Unmarked optical scan bubble.
Right: Marked optical scan bubble revealing confirmation code "FY".