Poor man's delta compression for .xopp files (in Python) #5098
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Nice hack! A previous optimization similar for reducing the digits was merged a few years ago and the idea of using delta compression is definitely the way to go. In a analysis that I did there is a plot under the title "Talking of strokes, how are theirs x-y coords distributed?" It is shown that all the x and y coordinates are in the range [0-800] so we are dealing with always small numbers very similar to each other, hence delta encoding works very nice. You may want to go a little deeper with frame of reference. Delta encoding is definitely something that will be implemented in the new file format (a work in progress still). And about the |
Beta Was this translation helpful? Give feedback.
Nice hack! A previous optimization similar for reducing the digits was merged a few years ago and the idea of using delta compression is definitely the way to go.
In a analysis that I did there is a plot under the title "Talking of strokes, how are theirs x-y coords distributed?" It is shown that all the x and y coordinates are in the range [0-800] so we are dealing with always small numbers very similar to each other, hence delta encoding works very nice.
You may want to go a little deeper with frame of reference. Delta encoding is definitely something that will be implemented in the new file format (a work in progress still).
And about the
.xopp
file format, I documented it a few months…