Skip to content
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

Specify compression ratio #252

Closed
SysVR opened this issue Jan 28, 2024 · 2 comments
Closed

Specify compression ratio #252

SysVR opened this issue Jan 28, 2024 · 2 comments

Comments

@SysVR
Copy link

SysVR commented Jan 28, 2024

Is your feature request related to a problem? Please describe.
Unclear what compression ratio is being used.

Describe the solution you'd like
If this software uses oxipng, etc,
I don't know what the compression ratio is, so I would like to be able to specify the compression ratio.

Describe alternatives you've considered
Install a slider that allows you to specify the compression ratio for lossless compression.

@Lymphatus
Copy link
Owner

For oxipng, Caesium uses the preset level 3, and 6 as level for libdeflater. This is a snippet from libcaesium

oxipng_options = oxipng::Options::from_preset(3);
oxipng_options.deflate = Libdeflater { compression: 6 };

Setting this levels could be something I add in an "advanced" panel.

@SysVR
Copy link
Author

SysVR commented Feb 6, 2024

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants