Closed stsrki closed 8 months ago
Hello, is there a way to get the image with a higher quality by using $toCanvas? In the cropper 1.x, there seemed to be an imageSmoothingQuality, but I don't see it for v2.
$toCanvas
imageSmoothingQuality
For v2.x, use the beforeDraw option please:
beforeDraw
cropperSelection.$toCanvas({ beforeDraw: (context, canvas) => { context.imageSmoothingQuality = 'high'; }, });
Hello, is there a way to get the image with a higher quality by using
$toCanvas
? In the cropper 1.x, there seemed to be animageSmoothingQuality
, but I don't see it for v2.