Comments (1)
you can set quality
prop or use beforeUpload
to optimize it
<Upload
beforeUpload={(oldFile)=> {
const newFile = reduceSize(oldFile) // process oldFile
return newFile
}}
/>
from antd-img-crop.
Related Issues (20)
- 开发环境下,beforeCrop返回false会停止上传,生产环境下,返回false会继续执行上传
- next.js 中 modal 取消还是会发起上传请求,onModalCancel resolve 并没有效果 HOT 1
- ConfigProvider not work HOT 2
- beforeCrop property problem HOT 5
- How can crop multiple images? HOT 1
- Aspect slider's min and max values
- ImgCrop 嵌套 Antd Dragger组件时,ImgCrop组件的onModalOK事件不会触发 HOT 2
- .heic format HOT 2
- upload file validation not working while using antd-img-crop HOT 1
- onModal 事件中不立即调用上传如何实现?
- 缩放控件为何会有背景色 HOT 1
- `beforeUpload` prop on a DOM element
- How to add more slider below of aspectSlider HOT 3
- open crop modal with defaultFileList props HOT 4
- 是否能设置固定的裁剪长度和宽度
- 当我把图片缩小后,无法移动图片 HOT 2
- Transparency disappears after cropping HOT 1
- cropperProps objectFit 不生效
- set zoomSlider false is not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antd-img-crop.