- fixed: exif orientation do not work in some situations
- 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 situations
- fixed: bug related to image orientation and squeezing
- fixed: bug related to wrong image output resolution in some cases
- breaking change: change "imageCompression" function signature
- optimized: use of OffscreenCanvas when support, fallback to document.createElement('canvas')
- optimized: use createImageBitmap when support, fallback to FileReader readAsDataURL
- added: support web worker
- added: follows image exif orientation