code

Converting Hypercom/Symbol sig format signature data to png image with PHP

As part of my ongoing paperless form project I need a way to display signatures captured by the Hypercom L5300 device. Equinox (formerly HyperCom) sent me a PDF describing the format for the sig data. There was one detail they left out...draw command x and y values were described as a sign plus 5 bits of value. I do not deal directly with bits often so I did not realize the values were stored in two's complement.

Subscribe to RSS - code