Comments (3)
Set the checkOrientation
option to false
can avoid out-of-memory crash when the image is too large.
from compressorjs.
What's the browser you were using? Where's the large image you were using?
from compressorjs.
Also encountering exceptions with large images. Was testing a 50MB image from wikicommons. This image specifically.
from compressorjs.
Related Issues (20)
- Compression not working on ios (webp) HOT 1
- Gif compression problem HOT 1
- 'Quality' param not followed when converting from png to jpeg HOT 2
- Adding the list of formats supported by compressojs in Docs HOT 6
- Question: Is there a way to check if an image is portrait or landscape? HOT 1
- Firefox setting "privacy.resistFingerprinting" to true will corrupt the image resize HOT 2
- 手机端浏览器中压缩成功回调的Blob对象中没有size和type属性
- 手机端同时调用压缩方法(大概3-5张同时处理),有概率出现压缩后的图片是空白图片 HOT 2
- I get a colored square instead of the image HOT 1
- Compression doesn’t work when the image has a lot of white background HOT 1
- Resize to non-proper scaling and checkmark effect HOT 1
- iOS 手机以及部分魅族18手机拍照无法压缩
- Loses Transparency In PNG Image HOT 2
- metadata are lost after compression HOT 1
- IOS无法压缩JPG格式的图 HOT 3
- Why does my compressed size remain the same? HOT 1
- Error: The first argument must be an image File or Blob object. HOT 1
- how to setstate for the success result HOT 1
- After compression, the image becomes larger HOT 2
- Is there any universal setting that supports compression of JPG and PNG? 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 compressorjs.