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

Switch to a different PNG loader? #99

Open
hpjansson opened this issue Jul 20, 2022 · 1 comment
Open

Switch to a different PNG loader? #99

hpjansson opened this issue Jul 20, 2022 · 1 comment
Labels
performance Resource utilization research Research & discussion
Milestone

Comments

@hpjansson
Copy link
Owner

The STB PNG decoder is very fast, quite a bit faster than LodePNG (approx 2x according to benchmarks I've seen). It's also widely used, so should receive plenty of testing. And the license is very permissive/PD.

Does it support everything LodePNG does, though? We'd have to investigate.

@hpjansson
Copy link
Owner Author

libspng looks like another interesting candidate. According to its own documentation it's both faster, more secure (fuzzing regime and test cases) and more versatile (progressive loading etc) than the alternatives.

@hpjansson hpjansson changed the title Switch from LodePNG to STB PNG loader? Switch to a different PNG loader? Aug 4, 2022
@hpjansson hpjansson added research Research & discussion performance Resource utilization labels Jul 14, 2023
@hpjansson hpjansson added this to the 1.16 milestone Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Resource utilization research Research & discussion
Projects
None yet
Development

No branches or pull requests

1 participant