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

spng encoder #3374

Closed
totaam opened this issue Dec 1, 2021 · 2 comments
Closed

spng encoder #3374

totaam opened this issue Dec 1, 2021 · 2 comments
Labels
encoding enhancement New feature or request

Comments

@totaam
Copy link
Collaborator

totaam commented Dec 1, 2021

Same as #3373 was for decoding.

Fedora 35 ships version 0.7.0 in the updates channel.

@totaam totaam added enhancement New feature or request encoding labels Dec 1, 2021
totaam added a commit that referenced this issue Dec 2, 2021
totaam added a commit that referenced this issue Dec 4, 2021
totaam added a commit that referenced this issue Dec 4, 2021
@totaam
Copy link
Collaborator Author

totaam commented Dec 4, 2021

Apart from some bugs that I still need to fix (random images failing to compress with a size error), the key problem is the performance: randy408/libspng#191
4 MPixels/s is not enough, especially when pillow does ~12 MPixels/s.

totaam added a commit that referenced this issue Dec 4, 2021
totaam added a commit that referenced this issue Dec 4, 2021
@totaam
Copy link
Collaborator Author

totaam commented Dec 5, 2021

Performance is now much better than libpng via pillow.

One issue that remains is that the restriding / scaling / pixel format conversion steps should be combined: #3357.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encoding enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant