You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently having an issue when generating an image with html-to-image on iOS as it takes quite a long time compared to Android.
I was able to reproduce it using Safari on Mac versus using Chrome
I've noticed that regardless of the quality settings or formats or any other property that I pass on the options object, the image file size generated initially on Safari is much larger than in Chrome.
On a small image, on Safari the file size can be around 8/9 MBs while on Chrome it can be around 200/300 KBs
This is also impacting the time to get the final screenshot as the request is much larger.
Did anyone run into the same issue?
Steps To Reproduce
Use html-to-image on Safari
Check Network tab to see the requests when the screenshot is taken
Compare with Chrome
Your Environment
html-to-image: [e.g. 1.11.11]
OS: [macOS Sonoma 14.4.1]
Browser: [safari 17.4.1]
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Current Behavior
I'm currently having an issue when generating an image with html-to-image on iOS as it takes quite a long time compared to Android.
I was able to reproduce it using Safari on Mac versus using Chrome
I've noticed that regardless of the quality settings or formats or any other property that I pass on the
options
object, the image file size generated initially on Safari is much larger than in Chrome.On a small image, on Safari the file size can be around
8/9 MBs
while on Chrome it can be around200/300 KBs
This is also impacting the time to get the final screenshot as the request is much larger.
Did anyone run into the same issue?
Steps To Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: