OS: Windows 10 (64 bit)
Certain types of animated PNGs, specifically those with transparent pixels and those optimized with apngopt fail to open when they previously opened on XnView MP 0.98.4.
This can easily be reproduced by converting an animated GIF to an animated PNG using ffmpeg, or optimizing an existing animated PNG using apngopt.
To reproduce: Create an animated PNG using one of these methods, and open it with XnView MP 0.99.0.
This will output a file that opens on XnView MP 0.99.0, but transparency is lost:
Code: Select all
ffmpeg -i animated.gif -f apng -filter_complex "[0:v] split [a][b];[a] palettegen [p];[b][p] paletteuse" animated.png
Code: Select all
ffmpeg -i animated.gif -f apng -filter_complex "[0:v] split [a][b];[a] palettegen=reserve_transparent=on [p];[b][p] paletteuse" animated.png
Code: Select all
apngopt -z2 -i15 animated.png animated_opt.png