Surprisingly I found Preview.app can still display PGM images. While somewhat legacy, it's a super straightforward format to (de)serialize. The images are scaled to 50x50 px and only consume 5KB in total. Makes more sense to human being than the previous base64-encoded zlib compressed data, plus we don't have to add pillow as a dependency.
2.5 KiB
2.5 KiB