corhocysen

RAL 6011 'Reseda green'

i want to become mediocre at everything.
i speak 🇬🇧🇳🇱 well, i'm currently learning 🇯🇵, and i can maybe read some other stuff


mastodon (defunct)
hsnl.social/@corhocysen
twitter (defunct)
twitter.com/corhocysen

ticky
@ticky

TIL that the names of PNG chunks being in sPoNGeBob mEMe case actually carries meaning to parsers:

For example, the hypothetical chunk type name bLOb has the property bits:

bLOb  <-- 32 bit chunk type code represented in text form
||||
|||+- Safe-to-copy bit is 1 (lowercase letter; bit 5 is 1)
||+-- Reserved bit is 0     (uppercase letter; bit 5 is 0)
|+--- Private bit is 0      (uppercase letter; bit 5 is 0)
+---- Ancillary bit is 1    (lowercase letter; bit 5 is 1)

Therefore, this name represents an ancillary, public, safe-to-copy chunk.

http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html

that's… actually a really clever way to encode something that is both human-readable and also packs additional metadata bytes in the upper/lower case bit of ascii


You must log in to comment.