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
Canvas is blurry #340
Comments
Browser/System? |
Chrome Version 32.0.1700.107Safari Version 7.0.1 (9537.73.11)Firefox 27.0System – 64bit I think... |
Our now you said I'm blind, LOL. I have an old mac, I'll try to test firefox. |
not used to the markdown. sorry about massive font |
I think it may possibly be a retina issue. I tried the same tests on an older macbook and they looked fine. |
Any news on this? I started getting blurred canvas as well. No version change for the past months (I'm on 0.4.1). |
Yes, I'm using 0.4.1 and I also get the blurred canvas. Both in FF and in Chrome on windows. |
I bet that something else changed on the browsers... It's really anoying because it was working perfectly fine a few weeks ago. Or maybe it's something else... |
Are you on retina? |
Not really, I'm not running a mac. Just a regular desktop with a 1080p monitor attached. I'm using Windows 8 but I tested it on Windows 7 and the same thing happened. |
I'm not running a mac either. Chrome: Version 32.0.1700.107 m |
Same issue |
Ignoring the retina issue, the blurring has been resolved for me (in latest and earlier) versions by only targeting absolutely positioned elements. (abs pos container - relative within that seems ok.) Currently working fine within that limitation (I clone the div I need and reposition to abs 0,0 then get the canvas.)
|
Yes it is definitely less burry. |
Hi, I had same result when trying to render a bootstrap dialog content, i found that the crop functionnality provider by canvas is faulty when you use float value for left/top crop start. So i fully render my page with html2canvas then crop my elements providing int value. you can see result in this jsfiddle so you can update your crop method |
I was able to reconstruct the bug - the result is being blurry if you crop the rendered result and not provide integer values for the cropping; so its not a fault of html2canvas. @luckystairs can you confirm that? |
+1 blurry on retina |
For those having the issue with retina displays, see my answer in #390 |
Fixed in 1.0.0 |
Using the latest version I get blurred canvasses – tried this across chrome, firefox and safari all with the same result. Previously using 0.3.4 this happened sometimes but only (i think) with relatively positioned target elements (eg. if
The text was updated successfully, but these errors were encountered: