So I have some hardware with a display on it that has limited RAM, so I was going to store my binary bitmaps in an RLE encoded format, but having a tough time finding an implementation of it anywhere.
Is there an easy way to encode a binary byte array (loaded from a file) into an RLE encoded byte array? (ill have to decode it on the other end in C)
not sure what the standard is on formatting, but I was assuming something like number of runs of the same value as the first word, and the byte being the value of the runs after this.
But not sure. Any ideas?
Is there an easy way to encode a binary byte array (loaded from a file) into an RLE encoded byte array? (ill have to decode it on the other end in C)
not sure what the standard is on formatting, but I was assuming something like number of runs of the same value as the first word, and the byte being the value of the runs after this.
But not sure. Any ideas?