How to save objects from fabric.js without anti-aliasing?

15 views Asked by At

First, I'm not a JS developer, I'm just trying to fix an issue that we inherited from the JS developer who left our team.

I have this example to help: view.html fabric.json

The problem is that when I save the canvas in PNG, both the square and the other objects are saved with anti-aliasing.

I'm looking for a way to save these objects with sharp colour contrast, no anti-aliasing at all.

enter image description here

0

There are 0 answers