-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
DataURL with multiplier gets blurry while using pattern #5884
Comments
Cannot really understand what is blurry and how. |
Hello @asturur, Thanks for your reply. There are mainly two issues which I m facing with the background pattern.
You can see the quality difference. Hope you got the issue. |
so once you make the pattern wide 100px on a different canvas, and use that canvas to make a pattern, you get the details of an image made of 100px. So answering the question 2, is the pattern size the same in the 800x1 canvas and in the 400x2? For the question 1: the output that has a different offset seems a bug and needs to be fixed. |
@asturur, Thanks for a quick reply. Yes, The pattern size is the same for both the canvases. For the 1st question, For the 2nd question, |
Other than this, after applying the pattern to the background color if I change the canvas size runtime, Patterns on the canvas gets blurry. I need to manually remove the older pattern before changing the size of the canvas and again I need to add a new pattern with the new size. |
@asturur, Can you please get back on this? As its too critical issue for me and can't find any solution for this |
I need to test some canvas toDataurl with multiplier with pattern as background color and inspect the offset. That is the only bug i acknowledge so far. |
Version
3.2.0
Test Case
https://jsfiddle.net/0w8zned1/
Steps to reproduce
Expected Behavior
DataURL output needs to be perfect.
Actual Behavior
DataURL output gets blurry and the position of pattern image gets changed in dataurl image.
The text was updated successfully, but these errors were encountered: