It would be nice, if would be possible compress apng files in ScreenToGIF.
Implementing any compression open source tools are welcome. apngopt for example.
apng images will hang less.User record and edit image → user save file as apng.
If "compress_apng": true in options:
    apng compress after creating.
Thanks.
My understanding on this is that you can throw a lot of optimization schemes at a given individual PNG file. This is great for websites that have millions of visitors per month because even 10k space savings is an astonishing amount of bandwidth. You don't need that for casual users.
The same is true for APNG files. Obviously as time goes by, better processors and tools will enable higher and higher compression, but I'd caution against the really intensive compression methods by default as they will slow simple file saving for casual users. Enabling the really deluxe tools like apngopt, truepng, pngout, leanify, pngwolf, etc. should probably be optional (note that I'm not sure all of those support animated PNG).
Ultimately, I like smaller files and I like that animated PNGs are often much smaller than their GIF counterparts, but it's a balance.
Related: https://github.com/NickeManarin/ScreenToGif/issues/129
With the latest release, a feature called "Execute post encoding commands." is available. It's a text area where you can type commands that will be executed after the encoding.
As a solution to this request, you can write a command passing the encoded file to apngopt:
apngopt [options] {p} {f}\anim_opt.png
{p} = the full path to the encoded file.
{f} = the full path to the folder where the encoded file is located.
It would be nice, if would be possible compress apng files
If you want to run your PNG file through a gamut of different compression tools, try FileOptimizer (also free and open source https://nikkhokkho.sourceforge.io/static.php?page=FileOptimizer). Be warned that even on the low setting, it runs slowly when compressing PNG files. That may have changed with the last release, I'm not sure.
Status: CONFIRMED :heavy_check_mark:
I added PngOptimizerCL post encoding command, when I save this .apng file:
pngoptimizercl {p} -BackupOldPngFiles
.apng file successfully compressed for me.
.apng lossy compression still a big problem, but this doesn't apply to ScreenToGIF.
Thanks.
Most helpful comment
With the latest release, a feature called "Execute post encoding commands." is available. It's a text area where you can type commands that will be executed after the encoding.
As a solution to this request, you can write a command passing the encoded file to apngopt: