![](/img/trans.png)
[英]How can I zoom an image while using react-image-crop? Or is there other library to achieve the same
[英]How Can i set large cropper for large images .(react-image-crop)
我使用 react-image-crop ( https://www.npmjs.com/package/react-image-crop ) 裁剪大圖像。 我需要裁剪 1920X726 尺寸的圖像。 如果我為裁剪器提供這個尺寸,它會在圖像中添加空白 canvas。
櫃面無法裁剪和圖像卡住
const pixelRatio = 0.5
代替
const pixelRatio = window.devicePixelRatio
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.