Skip to content

Repository files navigation

Build Status

image-resize-util

Takes an image and resizes it to given size, uses pica.js

Compatibility

  • Ember.js v3.24 or above
  • Ember CLI v3.24 or above
  • Node.js v12 or above

Installation

ember install image-resize-util

Usage

imageResize(file: File, {
    maxWidth: Number = 800,
    maxHeight: Number = 600,
    keepRatio: Boolean = true
}, resizeOptions: PicaOptionsObject) => Promise(Blob)

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages