Takes an image and resizes it to given size, uses pica.js
- Ember.js v3.24 or above
- Ember CLI v3.24 or above
- Node.js v12 or above
ember install image-resize-util
imageResize(file: File, {
maxWidth: Number = 800,
maxHeight: Number = 600,
keepRatio: Boolean = true
}, resizeOptions: PicaOptionsObject) => Promise(Blob)
See the Contributing guide for details.
This project is licensed under the MIT License.