Skip to content
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

Resize filters with canvas zoom #5071

Closed
melchiar opened this issue Jun 26, 2018 · 3 comments · Fixed by #5117
Closed

Resize filters with canvas zoom #5071

melchiar opened this issue Jun 26, 2018 · 3 comments · Fixed by #5117

Comments

@melchiar
Copy link
Member

Version

2.3.2

Test Case

https://jsfiddle.net/melchiar/mh9ba4pz/

Hey everyone, I'm posting this here for visibility since I haven't had a response on Stack Overflow. It would be great if Fabric's resize filters like lanczos and hermite had built in support to make resized images look clean at any zoom level or toDataURL multiplier. Has anyone found a solution for this?

Keep up the great work you guys!

https://stackoverflow.com/questions/50809354/fabricjs-resize-filters-with-canvas-zoom

@asturur
Copy link
Member

asturur commented Jul 23, 2018

image --->
image

ok i managed to fix it and create a visual test for it

@melchiar
Copy link
Member Author

Thanks @asturur. I realize this functionality won't be useful to everyone but resizefilters are a fantastic feature and having it produce images at optimal resolution for any zoom level should make it far more versatile.

@asturur
Copy link
Member

asturur commented Jul 23, 2018

it was definitely a bug!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants