Login
You're viewing the ruby.social public feed.
  • Nov 28, 2026, 7:05 AM
    retooted alcinnz

    Studying Papyrix's support library for loading PNG images, by 1st converting them into BMPs on the SD card...

    It has some serialization support routines (redundant?), a util for writing a 2bit BMP header, & a struct for tracking all the image metadata as its being serialized.

    There's a callback which validates its data, at start of row checks if it should abort, converts the RGBA (on white) colour into gray possibly saving it into a row buffer, & checks if its the last pixel of the row.

    1/2?

    💬 1🔄 1⭐ 0