1.0.3 • Published 4 years ago

image-resize-util v1.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Build Status

image-resize-util

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

Compatibility

  • Ember.js v3.16 or above
  • Ember CLI v2.13 or above
  • Node.js v10 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.

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

6 years ago

0.0.9

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago