-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
background images blurry in export #1464
Comments
@moettinger do you use config option https://html2canvas.hertzen.com/configuration Making it |
@olecom I don't see "Image Multiple Factor" as a config. Where do you see that? |
That must be feature of your Viewer. |
I've had the same issue. Using |
same issue. |
same issue here |
so frustrated 😭 this is my hack <div style="position:relative; width:100px; height:200px;">
<img src="./path/to/img.png" alt="" style="display:block; width:100%; height:100%;">
<div style="position:absolute; top:0; left:0; width:100%; height:100%;">
<!-- content above background -->
</div>
</div> |
I was using |
The content I am exporting looks sharp with good resolution before exporting but after exporting it using html2canvas, the parts of the content that are background images appear very blurry and pixelated. For both the top logo of "smarthernews" and the image of sunglasses at the bottom, I've tried various resolution images to no avail. No matter what, they come out blurry. They are both png's.
The text was updated successfully, but these errors were encountered: