4 ms·
PCX! It's such a simple format. I remember reading about it as a kid, punching in some code to read the header, then the data, then the palette, having an imag
by bluedino 5y ago
PCX!
It's such a simple format. I remember reading about it as a kid, punching in some code to read the header, then the data, then the palette, having an image appear before my eyes. Fixing the bugs in my code made the image appear correct, what a great intro to debugging and seeing the results.
It seemed like magic at the time. Taking this binary data that was gibberish when looking at it with EDIT.COM and making it appear on the VGA screen
https://nambafa.com/tutorials-computer-graphics.php?series=denthor&part=18 https://nambafa.com/tutorials-computer-graphics.php?series=d...
- Sharlin 5y agoYep. In fact, I've been planning to write a PCX codec for my retrogaming/gfx project. The RLE scheme is simple but still reasonably effective.
- interroboink 5y agoRight there with you (: I wrote a PCX reader in QBasic. I can still remember seeing that image of a red rose finally appear in all it its 320x200 pixelated glory.
- mpyne 5y agoYeah, a PCX image reader was one of my first programming accomplishments. I wish I still had the code somewhere (same with the Mandlebrot fractal generator I had back then).