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

Making thumbnails of large images can lock the main thread #460

Open
DustinBrett opened this issue Jul 24, 2024 · 1 comment
Open

Making thumbnails of large images can lock the main thread #460

DustinBrett opened this issue Jul 24, 2024 · 1 comment
Labels
Milestone

Comments

@DustinBrett
Copy link
Owner

Making a thumbnail of a JPG image which was 222 MB's (The_Garden_of_Earthly_Delights_by_Bosch_High_Resolution.jpg) causes the main thread to freeze for >5 seconds on my machine. Possibly images this large should not have thumbnails or they should be created in a worker if it's possible to do this.

@DustinBrett DustinBrett added this to the P0 milestone Jul 24, 2024
@DustinBrett
Copy link
Owner Author

Duplicate: #470

If you drag a 222 MB image like The_Garden_of_Earthly_Delights_by_Bosch_High_Resolution.jpg onto the desktop, it will freeze anything on main thread while it makes that into a thumbnail.

  • Why is this taking so long? html-to-image involved?
  • Can't this just be an image resize->save operation?
  • Is something being captured?

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

1 participant