Hi
I am not sure if anybody will be able to help on this one but I am hoping so as its been driving me nuts for weeks
I have an image, specifically a signature, stored in my database as a hexadecimal string. The coordinates are represented in 4 character groups, 2 bytes for the X and Y coordinate. These are standard hexadecimal pairs giving me a range of 0-255 for the X coordinate and 0-127 for the Y coordinate (the high bit of the Y coordinate is reserved). I need to plot a line between each set of coordinates in the order they come.
However as the signature may contain breaks, for instance two seperate words. If the Y coordinate is greater than 127 it means the start of a new segment and should not be connected to the previous point.
Can anybody help me to produce a VB module which will perform the task of replotting the points and saving the data in a standard image format (bitmap or vector)?
An example of one of the strings I am working with is:
16991b331c361e381e381e3808a3062426172d1f302232253427352a352c342f3232183f133b133b133b109e123312351231132f132c132a1327132412221725232c252d272e293120162016201610b01a2b1a2b3eb33e333e3368966713630e530e6e2a712c671f6b1e8135822b8b248b2753225122b51fb51f
Many Thanks
I am not sure if anybody will be able to help on this one but I am hoping so as its been driving me nuts for weeks

I have an image, specifically a signature, stored in my database as a hexadecimal string. The coordinates are represented in 4 character groups, 2 bytes for the X and Y coordinate. These are standard hexadecimal pairs giving me a range of 0-255 for the X coordinate and 0-127 for the Y coordinate (the high bit of the Y coordinate is reserved). I need to plot a line between each set of coordinates in the order they come.
However as the signature may contain breaks, for instance two seperate words. If the Y coordinate is greater than 127 it means the start of a new segment and should not be connected to the previous point.
Can anybody help me to produce a VB module which will perform the task of replotting the points and saving the data in a standard image format (bitmap or vector)?
An example of one of the strings I am working with is:
16991b331c361e381e381e3808a3062426172d1f302232253427352a352c342f3232183f133b133b133b109e123312351231132f132c132a1327132412221725232c252d272e293120162016201610b01a2b1a2b3eb33e333e3368966713630e530e6e2a712c671f6b1e8135822b8b248b2753225122b51fb51f
Many Thanks