Open shiya-she opened 7 months ago
enlarge只对截图框存在时才生效,没有截图框不会处理图片
如何在无截图框时输出原始图像大小在有截图框时按截图与原图的比例输出大小 现在我的使用 const enlarge = computed(() => { if (cropper.value == null || cropper.value.scale == null) return 1; // 获取裁剪的宽高比 return 1 / cropper.value.scale; }); 设置图片裁剪后的大小 @xyxiao001 旋转后保存图片大小为页面中显示大小怎么修改为原始大小
设置enlarge 再无截图框时输出图片为图片缩放后的图片 开启截图后输出图片为放大后的图片