1.0.3 • Published 2 years ago

image-resize-util v1.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
2 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

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

5 years ago

0.0.9

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago