- Fix incompatible syntax in the bundled files (#170).
- Add a new option:
retainExif
(#159).
- Fix loading error in Node.js (#137).
- Add 2 new options:
convertTypes
(#123) andresize
(#130). - Ignore the
strict
option when themaxWidth/Height
option is set and its value is less than the natural width/height of the image (#134). .
- Update the built-in dependencies for better adaptability.
- Fix the
The operation is insecure
error (#57).
- Fix the wrong generated URL when the given image's orientation is 1 (#64).
- Regenerate the initial URL only when the orientation was reset for better performance (#63).
- Convert
TypedArray
toArray
manually instead of using Babel helpers for better browser compatibility (#60).
- Upgrade
is-blob
to v2. - Move
examples
folder todocs
folder.
- Simplify the state of canvas for the
beforeDraw
option. - Ignore range error when the image does not have correct Exif information.
- Supports 15 options:
beforeDraw
,checkOrientation
,convertSize
,drew
,error
,height
,maxHeight
,maxWidth
,mimeType
,minHeight
,minWidth
,quality
,strict
,success
andwidth
. - Support 1 method:
abort
. - Support to compress images of
File
orBlob
object. - Supports to translate Exif Orientation information.