--- title: "RLE Made Easy" type: "article" slug: "rle-made-easy-2" url: "http://localhost/article/rle-made-easy-2/" markdown_url: "http://localhost/article/rle-made-easy-2.md" published_at: "2026-11-09T22:33:13+00:00" modified_at: "2026-11-09T22:45:41+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Run Length Encoding is one way to send pictures over the telephone lines. Picture data replaces character data. The parity bit is ignored, as are ASCII control codes except 07h. A zebra picture with one scan line expanded into a bar of INK and PAPER pixel runs, with the run lengths marked The divider bar…" post_tag: - name: "Telecomputing" slug: "telecomputing" taxonomy: "post_tag" url: "http://localhost/tag/telecomputing/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "William J. Pedersen" slug: "william-j-pedersen" taxonomy: "indiv" url: "http://localhost/indiv/william-j-pedersen/" genre: - name: "Graphics" slug: "graphics" taxonomy: "genre" url: "http://localhost/type/graphics/" publication: "Update Magazine" publication_r: id: 10283 title: "Update Magazine" type: "periodical" url: "http://localhost/periodical/update-magazine/" authors: "W.J.Pedersen" issues_articles: - id: 26505 title: "Update July 1992" type: "issue" url: "http://localhost/issue/ts-2068-up-date-july-1992/" pages: "38" pubdate: "July 1992" archive_link: false volumeissue: "vn" --- # RLE Made Easy Run Length Encoding is one way to send pictures over the telephone lines. Picture data replaces character data. The parity bit is ignored, as are ASCII control codes except 07h. [![A zebra picture with one scan line expanded into a bar of INK and PAPER pixel runs, with the run lengths marked](http://localhost/wp-content/uploads/2026/11/update-new-rle-made-easy-1-1024x431.png)](http://localhost/wp-content/uploads/2026/11/update-new-rle-made-easy-1.png)A zebra picture with one scan line expanded into a bar of INK and PAPER pixel runs, with the run lengths marked The divider bar shows where there are too many PAPER pixels to fit in a byte. An INK byte for 0 pixels is inserted. Any number of pixels can be accommodated. In this way, bytes alternate between INK and PAPER. 32 is added to pixel count so that 0 to 95 pixels can be stuffed in each byte. The list of bytes is ended by 07h. It begins after a header ending in “GH”. Headers can be up to 101 bytes. Picture data above is:…/127/32/44/33/34 37/33/39/34/34/55/45/34/38/33/33/37/33/33 35/47/51/35/35/33/36/34/39/34/38/34/37/35 36/38/33/34/39/33/36/33/39/37/33/42/… RLE works best with line drawings. It often yields files bigger than SCREEN$, so file compression is not to be expected. BBS Uploading and downloading is its forte, at which it excels.