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

Ignore embedded thumbnail art when too large #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

averne
Copy link

@averne averne commented Feb 10, 2024

This encode contains a ridiculously large embedded thumbnail art (4785x8529 png, 98.5MiB), which this script ends up passing as inline b64-encoded url.
This triggers a crash deep inside glibc which I'm not willing to investigate, since I value my sanity.
Instead, just put a threshold on the size for an acceptable thumbnail art. 25MiB is already way bigger than it needs to be, but I verified it working for a ~37MiB thumbnail file.

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

Successfully merging this pull request may close these issues.

1 participant