-
Notifications
You must be signed in to change notification settings - Fork 0
Animated corruption
These parameters let you control the result of animated corruption.
This adds randomness to -shift
! -shift
doesn't need to be non-zero for this to work.
The chance that decides whether pngfucker corrupts a frame of an animated 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 |
---|---|---|
#2: 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
#3: 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 2 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.
These won't work for APNG inputs, only for single-frame PNGs!
How many corrupted frames the APNG should have.
How many frames per second the APNG should play.