binocle
binocle copied to clipboard
Find patterns to set width (and stride ?)
Could the program do a simple (but possible computational expensive) computation to look for repeating patterns?
With as input parameters:
- offset (byte 0 to filesize)
- stride (from 1 to maybe half the filesize, or 25%)
- pattern length (span of bytes)
Result of search could be: Found pattern with length of 3 bytes, repeated 100 times with stride 20
Then width of can set equal to stride and the same kind color of pixels should show up as a vertical line.
In case of many patterns found they can be sorted by something like: pattern length * length
Interesting idea. I think this should be prototyped in an external script/experiment first.