Making thumbnails of large images can lock the main thread
DustinBrett opened this issue · 1 comments
DustinBrett commented
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 commented
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?