Oxipng is a multithreaded rewrite of optipng in rust that has the same benafits just faster for more cores, is there any plans on using that instead of the old optipng?
👍
2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For your information I just tried with 3.0.1. And unfortunately, since more than 3 years (https://github.com/shssoichiro/oxipng/issues/79):
Processing: elephant.png
APNG files are not (yet) supported
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would be possible for sure. But given there are higher priority tasks in the list I guess it is not worth to partially implement Oxipng, even considering the development is not interested in APNG.
According to some tests I took, there will not be almost any benefit. Other PNG plugins in FO already use Zopfli, so unless some one decides to integrate it, I will wait for Oxi giving same support as Opti, and thus, being a true replacement.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oxipng 9 is out now with APNG support. It also has way better optimisation now than earlier versions, so I think you'll find benefit regardless of APNG :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Awesome, thank you!!
Flags that may be of interest: --strip safe (or more aggressive --keep acTL,fcTL,fdAT) --alpha --scale16 (lossy!) --zopfli (probably only for highest level)
Last edit: Gannet 2023-10-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oxipng is a multithreaded rewrite of optipng in rust that has the same benafits just faster for more cores, is there any plans on using that instead of the old optipng?
Yes, I am a big fan of Oxipng for years: https://sourceforge.net/p/nikkhokkho/discussion/fileoptimizer/thread/46be3d856c/
For your information I just tried with 3.0.1. And unfortunately, since more than 3 years (https://github.com/shssoichiro/oxipng/issues/79):
Processing: elephant.png
APNG files are not (yet) supported
would it be possible to use oxipng for normal png files and opti for just apng? I don't know if it is possible or not
It would be possible for sure. But given there are higher priority tasks in the list I guess it is not worth to partially implement Oxipng, even considering the development is not interested in APNG.
According to some tests I took, there will not be almost any benefit. Other PNG plugins in FO already use Zopfli, so unless some one decides to integrate it, I will wait for Oxi giving same support as Opti, and thus, being a true replacement.
that's definatly fair enough
Hey guys, I see it's implemented now: github.com/image-rs/image/pull/1250
Thanks Yakov Till.
Have anyone tryied? It is not the first time they log APNG support has been added and then it was not enabled.
Just tried again, and it was still a buzz:
oxipng 4.0.0
Processing: elephant.png
APNG files are not (yet) supported
Oxipng 9 is out now with APNG support. It also has way better optimisation now than earlier versions, so I think you'll find benefit regardless of APNG :)
I still see this as opened: https://github.com/shssoichiro/oxipng/issues/551
That issue was opened before v9 was released - it does support recompressing APNGs now, just not reductions yet. Worth another look at least.
I did a quick test, and it makes sense. I have implemented it on the source, but still need to do more trials. Any feedback is welcome.
https://sourceforge.net/p/nikkhokkho/code/1798/
Awesome, thank you!!
Flags that may be of interest:
--strip safe
(or more aggressive--keep acTL,fcTL,fdAT
)--alpha
--scale16
(lossy!)--zopfli
(probably only for highest level)Last edit: Gannet 2023-10-24
Thank you. I supposed --strip safe was by default, so I have added it. Also --alpha.
zopfli (-Z) was already in place.