Skip to content

Releases: fengyuanchen/cropperjs

v0.5.2

15 Dec 06:19
Compare
Choose a tag to compare
  • Fix event handlers

v0.5.1

12 Dec 07:13
Compare
Choose a tag to compare
  • 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

05 Dec 09:31
Compare
Choose a tag to compare
  • Added a new option: checkOrientation
  • Added a timestamp to the url of preview image

v0.4.0

02 Dec 06:55
Compare
Choose a tag to compare
  • Added a new option: restore
  • Fixed #12: Added vendor prefixes to CSS transform

v0.3.3

30 Nov 03:19
Compare
Choose a tag to compare
  • Floor the numerical parameters for CanvasRenderingContext2D.drawImage

v0.3.2

18 Nov 03:07
Compare
Choose a tag to compare
  • Fixed #10: improve new crop box creating

v0.3.1

11 Nov 12:17
Compare
Choose a tag to compare
  • Fixed #7: reset the crossOrigin when call the replace method

v0.3.0

28 Oct 06:43
Compare
Choose a tag to compare
  • 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 to zoomOnTouch
  • Rename mouseWheelZoom to zoomOnWheel
  • Rename doubleClickToggle to toggleDragModeOnDblclick
  • Rename checkImageOrigin to checkCrossOrigin
  • Remove strict (supported byviewMode: 1)
  • Remove dragCrop (supported by dragMode: 'crop')

v0.2.1

28 Oct 06:04
Compare
Choose a tag to compare
  • Fix the error jQuery reference on the setCanvasData method (#3)
  • Fix typo on the destroy method

v0.2.0

25 Oct 02:02
Compare
Choose a tag to compare
  • Added 5 new methods: moveTo, zoomTo, rotateTo, scaleX and scaleY
  • Improved 4 methods: move, zoom, rotate and getCanvasData
  • Improved cropping