react-advanced-cropper
react-advanced-cropper copied to clipboard
[bug] Image in FixedCropper appears blurry when zooming
Thanks for open sourcing this great library!
There is a bug in the FixedCropper where the zoomed image will appear blurrier than the original. I see the same issue in the docs website examples, so this isn't specific to my implementation.
Example 1 (from my own implementation)
Before zooming:
After zooming:
The original image has a lot more detail and clarity:
When exporting from the cropper with getCanvas()
the detail looks good, so this seems to just be a rendering issue.
Example 2 (from the docs website)
It's a little less obvious in the documentation because the image is lower resolution to begin with (and I think also because the rendered cropper is larger), but you can see pixelation in the cropper view:
When viewing the original image, the clarity is better:
Let me know if I can provide any further information. I'm not including my own code since this issue is also visible in the example from the docs website, but let me know if that would be helpful.