2 ms·
Nice! I've experimented a bit with bijective compression for making glitch images myself (mostly because it was easier and more fun than trying to make a practi
by vintermann 5y ago
Nice! I've experimented a bit with bijective compression for making glitch images myself (mostly because it was easier and more fun than trying to make a practical bijective compressor).
I did a burrows-wheeler transform (the central technique of bzip2) on the pixels of an image, edited a few pixels in the transformed image, then inverted the transformation. It gave me results like this:
https://imgur.com/a/bHQreKy https://imgur.com/a/bHQreKy
I'm sorry the code isn't (even) presentable enough for Show HN :)