Releases: fengyuanchen/cropperjs
Releases · fengyuanchen/cropperjs
v0.5.2
- Fix event handlers
v0.5.1
- Handle Data URL (avoid to use XMLHttpRequest to open a Data URL)
- Handle ajax error when load ArrayBuffer
- Not to transform the image to base64 when Orientation equals to
1
- Fix some typos
v0.5.0
- Added a new option:
checkOrientation
- Added a timestamp to the url of preview image
v0.4.0
v0.3.3
- Floor the numerical parameters for
CanvasRenderingContext2D.drawImage
v0.3.2
v0.3.1
v0.3.0
- Supports four view modes
- Supports three drag modes
- Makes the crop box's borders and handlers visible when overflow
- Added some examples
- Fixed some issues
Options
- Add
viewMode
- Add
dragMode
- Rename
touchDragZoom
tozoomOnTouch
- Rename
mouseWheelZoom
tozoomOnWheel
- Rename
doubleClickToggle
totoggleDragModeOnDblclick
- Rename
checkImageOrigin
tocheckCrossOrigin
- Remove
strict
(supported byviewMode: 1
) - Remove
dragCrop
(supported bydragMode: 'crop'
)
v0.2.1
v0.2.0
- Added 5 new methods:
moveTo
,zoomTo
,rotateTo
,scaleX
andscaleY
- Improved 4 methods:
move
,zoom
,rotate
andgetCanvasData
- Improved cropping