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

PNG images take much longer to process than JPG #359

Open
bublath opened this issue Mar 24, 2024 · 2 comments
Open

PNG images take much longer to process than JPG #359

bublath opened this issue Mar 24, 2024 · 2 comments
Labels

Comments

@bublath
Copy link
Contributor

bublath commented Mar 24, 2024

Processing of PNG images takes up to 10s and a lot of CPU is consumed, while after converting the image to JPG processing is almost instantly.

@sciurius
Copy link
Collaborator

This is a known issue. It is related to the way transparancy is handled in the PNG image.

If you run chordpro installed from CPAN, you can install Image::PNG::Libpng and it should improve.

@bublath
Copy link
Contributor Author

bublath commented Mar 24, 2024

Ok. If that's known it's alright. The documentation in https://www.chordpro.org/chordpro/directives-image/
explicitely suggest PNG, so maybe hint to use JPG in case performance is seen as an issue. I'm just using JPG going forward. Problem solved.

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

No branches or pull requests

2 participants