-
Notifications
You must be signed in to change notification settings - Fork 0
Animated corruption
These parameters let you control the result of animated corruption.
The chance that decides whether pngfucker corrupts an image or leaves it alone.
This is useful if you want an image to have gaps in between corrupted images, hence the name (taking a break)
Original | Without -breaks
|
-breaks 50 |
---|---|---|
Center: node pngfucker.js -input cioss.png -frames 30 -fps 10 -crunch 60 -seed 100 -splits 1 -regions 0 -shift -1 -div 1 -blackbg 1 -rmin -10 -rmax -8 -randshift 1
Right: node pngfucker.js -input cioss.png -frames 30 -fps 10 -crunch 60 -seed 100 -splits 1 -regions 0 -shift -1 -div 1 -blackbg 1 -rmin -10 -rmax -8 -randshift 1 -breaks 50
These 3 parameters let you turn a single-frame PNG into an animated corrupted APNG!
To enable this, set -frames and -fps to anything other than 0.
How many corrupted frames the APNG should have.
How many frames per second the APNG should play.