3 ms·
> But what shocks me is how did absolutely no-one apply such a naive RLE in the 30 years of internet image formats? Off the top of my head, both PCX [0] and TG
by a_e_k 5y ago
> But what shocks me is how did absolutely no-one apply such a naive RLE in the 30 years of internet image formats?
Off the top of my head, both PCX [0] and TGA [1] use similarly naive RLE as their compression method.
And while they also offer fancier compression methods, BMP [2], TIFF [3], and OpenEXR [4] all offer RLE modes as well.
[0] https://en.wikipedia.org/wiki/PCX https://en.wikipedia.org/wiki/PCX
[1] https://en.wikipedia.org/wiki/Truevision_TGA https://en.wikipedia.org/wiki/Truevision_TGA
[2] https://en.wikipedia.org/wiki/BMP_file_format https://en.wikipedia.org/wiki/BMP_file_format
[3] https://en.wikipedia.org/wiki/TIFF https://en.wikipedia.org/wiki/TIFF
[4] https://en.wikipedia.org/wiki/OpenEXR https://en.wikipedia.org/wiki/OpenEXR
- WoodenChair 5y agoJust to add to this list, even MacPaint used RLE on a per-scan line basis. I recently wrote about decoding MacPaint files[0]. So, replying to the gp post, yes it is in a sense reinventing the wheel. But sometimes the wheel needs to get reinvented because you have a new vehicle that could use a different type. And I would say the original poster felt he needed part of the modern wheel without the tire, so he had to go back to earlier wheel designs in a modern context. Okay, I've stretched the analogy too far! [0] http://www.observationalhazard.com/2021/09/building-retro-dither-dithering.html http://www.observationalhazard.com/2021/09/building-retro-di...