-
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 pngsmasher 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: pngsmasher.cli -input cioss.png -frames 30 -fps 10 -crunch 60 -seed 100 -splits 1 -shift -1 -div 1 +bg -rmin -10 -rmax -8 -randshift 1
#3: pngsmasher.cli -input cioss.png -frames 30 -fps 10 -crunch 60 -seed 100 -splits 1 -shift -1 -div 1 +bg -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 at. This applies to both animated corruption and APNG inputs!
Makes it so that the fps is default when "taking a break" (-breaks), but when not, the fps is set to -fps.
By default, pngsmasher applies contrast, NTSC, and other non-corrupting effects during a break. This option makes frames "on break" to be identical to the input.