Releases: Donaldcwl/browser-image-compression
Releases · Donaldcwl/browser-image-compression
v1.0.10
- fixed: issue in Web Worker when onProgress is undefined #50
- fixed: handle behavior change of exif orientation in iOS 13.4.1 and Safari 13.1 Desktop #52
- updated: typescript type definitions to resolve #54
v1.0.9
- updated: compression becomes less aggressive, output file is closer to the 'maxWidthOrHeight' and/or 'maxSizeMB' in config
- fixed: file size increased in specific situation
v1.0.8
- added: support for Server Side Rendering (SSR)
- updated: ts type file
v1.0.7
- add onProgress function in options for compression progress updates
- allow fileType override
- fix garbage clean canvas for safari
- fix issue in Cordova support
- fix issue in IE browser
- fix other issues
- useWebWorker default set to false
- add ts type file
v1.0.6
- fixed: exif orientation do not work in some situations
v1.0.5
- added: support for cordova project that uses cordova-plugin-file
- optimized: follow image exif orientation even though image do not required to compress or resize
- fixed: error may throw on iPhone Safari because of OffscreenCanvas cannot get 2d context
- fixed: exif orientation do not work in some situation
v1.0.2
fixing bug related to image orientation and squeezing
v1.0.1
fixing bug related to wrong image output resolution in some cases
v1.0.0
- breaking change: change "imageCompression" function signature
- use of OffscreenCanvas when support, fallback to document.createElement('canvas')
- use createImageBitmap when support, fallback to FileReader readAsDataURL
- add web worker support
- follows image exif orientation