mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 17:16:00 +00:00
| Package | Version | Package | Version | | -------------------- | ------- | -------------------- | ------- | | @uppy/drag-drop | 2.0.6 | @uppy/tus | 2.2.0 | | @uppy/image-editor | 1.1.1 | @uppy/utils | 4.0.5 | | @uppy/screen-capture | 2.0.6 | @uppy/robodog | 2.2.0 | | @uppy/transloadit | 2.1.0 | uppy | 2.4.0 | - @uppy/transloadit: ignore rate limiting errors when polling (Antoine du Hamel / #3418) - @uppy/tus: pause all requests in response to server rate limiting (Antoine du Hamel / #3394) - @uppy/transloadit: better defaults for rate limiting (Antoine du Hamel / #3414) - @uppy/companion: Fix Companion deploys (kiloreux / #3388) - meta: update aws-presigned-url example to use esm (Antoine du Hamel / #3413) - @uppy/image-editor: namespace input range css (Merlijn Vos / #3406) - @uppy/screen-capture: Add missing option to the screen capture types (Mustafa Navruz / #3400) - @uppy/drag-drop: fix `undefined is not a function` TypeError (Antoine du Hamel / #3397) - website: update december 2021 blog post (Antoine du Hamel / #3396) - website: Polished the latest update blog (AJvanLoon / #3390) - website: docs: fix typo in audio.md (heocoi / #3389) - website: 2.0-2.3 post draft (Artur Paikin / #3370) |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@uppy/image-editor
Image Editor is an image cropping and editing plugin for Uppy. Designed to be used with the Dashboard UI (can in theory work without it).
⚠ In beta.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Example
import Uppy from '@uppy/core'
import Dashboard from '@uppy/dashboard'
import ImageEditor from '@uppy/image-editor'
const uppy = new Uppy()
uppy.use(Dashboard)
uppy.use(ImageEditor, {
target: Dashboard,
quality: 0.7,
})
Installation
$ npm install @uppy/image-editor
We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.
Alternatively, you can also use this plugin in a pre-built bundle from Transloadit’s CDN: Edgly. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.
Documentation
Documentation for this plugin can be found on the Uppy website.