cropperjs

JavaScript image cropper.

MIT License

Downloads
3.6M
Stars
12.6K

Bot releases are visible (Hide)

cropperjs - v1.0.0-rc.2

Published by fengyuanchen over 7 years ago

  • Fixed the issue of canvas box initialization (#179).
cropperjs - v1.0.0-rc.1

Published by fengyuanchen over 7 years ago

  • Change the main field value from dist/cropper.js (UMD) to dist/cropper.common.js (CommonJS).
  • Added module and browser fields to package.json.
cropperjs - v1.0.0-rc

Published by fengyuanchen over 7 years ago

  • Fixed the bug of touch zoom (#161).
  • Fixed the bug of window resize (#162).
  • Improve the toggleDragModeOnDblclick option (only available when the dragMode option is set to crop or move)
cropperjs - v1.0.0-beta.2

Published by fengyuanchen over 7 years ago

  • Fixed the bug of rotate square image lead image shrink (#155).
  • Improved RegExps for DataURL processing (#156).
cropperjs - v1.0.0-beta.1

Published by fengyuanchen over 7 years ago

  • Use CSS3 2D Transforms instead of left and top for better performance (#138).
  • Set withCredentials attribute when read the image data by XMLHttpRequest (#141).
cropperjs - v1.0.0-beta

Published by fengyuanchen almost 8 years ago

  • Supports to set an element for preview (#113).
  • Improved event handler for Pointer Events (#127).
cropperjs - v1.0.0-alpha

Published by fengyuanchen almost 8 years ago

  • Built JavaScript with Rollup.
  • Build CSS with PostCSS.
  • Fixed a bug of auto crop when replace the image (#83).
cropperjs - v0.8.1

Published by fengyuanchen about 8 years ago

  • Fixed the bug of cropping (#80).
  • Fixed the bug of calling ready event twice when call replace method (#81).
  • Fixed the bug of getCroppedCanvas when set scalable or rotatable to false (#82).
cropperjs - v0.8.0

Published by fengyuanchen about 8 years ago

  • Removed build event.
  • Renamed built event to ready.
  • Fixed the error of orientation transform.
  • Ported code to ECMAScript 6.
cropperjs - v0.7.2

Published by fengyuanchen over 8 years ago

  • Fixed a bug of data-* attributes setting and getting.
  • Fixed the calling order of scale and rotate.
cropperjs - v0.7.1

Published by fengyuanchen over 8 years ago

  • Improved the rotate and scale transform behaviour.
  • Improved the getCroppedCanvas method (returns the whole canvas if it is not cropped).
  • Check cross origin setting when load image by XMLHTTPRequest.
cropperjs - v0.7.0

Published by fengyuanchen over 8 years ago

  • Supports 7 custom events: build, built, cropstart, cropmove, cropend, crop and zoom.
  • The original callback options become shortcuts of these events now.
  • IE8 is no longer supported after added these custom events.
cropperjs - v0.6.0

Published by fengyuanchen over 8 years ago

  • Added a new parameter to the replace method for applying filters.
  • Improved the image initializing for Safari.
  • Fixed incorrect size limitation of the crop box (#30).
  • Fixed incorrect cropped canvas when scaleX or scaleY great than 1.
cropperjs - v0.5.6

Published by fengyuanchen almost 9 years ago

  • Fixed crossOriginUrl undefined error when exists the crossOrigin property.
  • Fixed the issue in the "destroy" method (#24).
  • Optimized tests.
cropperjs - v0.5.5

Published by fengyuanchen almost 9 years ago

  • Fixed a dimension bug in the "getCroppedCanvas" method.
  • Added an example for cropping round image.
cropperjs - v0.5.4

Published by fengyuanchen almost 9 years ago

  • Supports to zoom from event triggering point.
cropperjs - v0.5.3

Published by fengyuanchen almost 9 years ago

  • Limit wheel speed to prevent zoom too fast (#21)
  • Improve the setCropBoxData method (#22)
cropperjs - v0.5.2

Published by fengyuanchen almost 9 years ago

  • Fix event handlers
cropperjs - v0.5.1

Published by fengyuanchen almost 9 years ago

  • 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
cropperjs - v0.5.0

Published by fengyuanchen almost 9 years ago

  • Added a new option: checkOrientation
  • Added a timestamp to the url of preview image
Package Rankings
Top 0.43% on Npmjs.org
Badges
Extracted from project README
Downloads Version Gzip Size
Related Projects