it's not perfect, but check out pngsmasher!
i might make a fully fledged GUI for it later, but for now it has a command-line tool nearly identical to pngfucker :)
pngfucker is a tool that purposefully distorts and glitches images to create an unique effect that has never been implemented before.
It's very configurable and the output is randomized with each iteration, plus, now you can specify a numeric seed value!
pngfucker also has APNG support, and there's several examples of it after the documentation!
Have you ever gotten tired of seeing this generic JPEG glitch effect and wanted something else?
I was working on a program that controlled the game Garry's Mod from my phone in the browser, however, the colors looked off.
I tried to bitshift the view, and i got this peculiar glitching effect that looked cool (though i abandoned the controller project at that point because it was super slow)
Later, i separated that effect into its own tool called "pngfucker", it stayed like that for 2 months, and then i added more features to it!
This project uses node.js, so you need it to run pngfucker!
pngfucker uses three NPM packages to do its magic:
buffershift
jimp
upng-js
Install them all with npm i
before running pngfucker!
The script has its own commandline argument handler, although it doesn't like arguments with spaces.
All of the parameters below are optional. If no parameters are specified, it will convert an "input.png" into an "output.png" with the specified default values.
Generally, the trick to getting a good-looking corrupted image is to know how each of the options affects the image, and to experiment around a little until you get something that looks nice!
node pngfucker.js (args)
The complete list of args/parameters is in the wiki!
I might remake these examples at some point, because pngfucker has changed so much that they aren't reproducible anymore, especially #1 to #10