-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--zi
options with parameter higher than 255?
#658
Comments
Hi @dustdfg |
Thanks. It worked. I've run it with parameter 10240 just for fun and saved 2 bytes in comparison to already optimized image with 255 🤣 🤣 🤣 But it worked! |
Out of curiosity, how much time did it take to run 10240 iterations with respect to "just" 255? 😂 |
& on what spec'ed image (dimensions & color depth, mostly)? |
I've also ran it on another icon (also from godot):
But I have a low-end device so it is not that bad result. And I've also ran it without |
Is there an iteration counter displayed saying which round produced the savings? If not, could there be, for this & the eventual |
Try |
It is actually not what user expects:
|
…
I was thinking, when displaying the final summary, just this last info nicely presented. |
For (very) small images, I have used a Zopfli compressor with 512 iterations. It's not something I've extensively tested... @TPS - +1 Yes! In the most verbose mode, it'd be great to have the final number of Zopfli iterations output (just like we reveal the winning Palette structure). Ideally this would be formatted to allow scripts to extract the text and number easily 🙏 |
If it's not what the user expects I'm afraid that probably means the user doesn't understand how zopfli works 😂 The data is first split into some number of "blocks" and each block is then compressed by iterating the specified number of times. The printout that you see with In the above output, the last line Note though that the output here is all part of the zopfli library - oxipng neither controls it nor knows anything about it. |
@andrews05 So, the debug info or Zopfli library could potentially be parsed or queried to provide the info as requested, i.e., the last iteration to show any improvement? |
I know I am crazy but if 255 is an artificial restriction, I want to set it to 1024 or something like it. For three reasons:
Is it possible to edit one line in code, recompile custom binary and run with 1024?
The text was updated successfully, but these errors were encountered: