@ciscospark/helper-image

[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

Stats

stars šŸŒŸissues āš ļøupdated šŸ› created šŸ£size šŸ‹ļøā€ā™€ļø
@ciscospark/helper-image
Minified + gzip package size for @ciscospark/helper-image in KB

Readme

@ciscospark/helper-image

standard-readme compliant

Helpers for rotating images and creating their thumbnails. Mostly browser-only.

Install

npm install --save @ciscospark/helper-image

Usage

drawImage(options)

Draws the image on the canvas so that the thumbnail could be generated.

updateImageOrientation(file)

Updates the image file with exif information, required to correctly rotate the image activity

readExifData(file, buf)

Adds exif orientation information on the image file

orient(options, file)

Rotates/flips the image on the canvas as per exif information

Maintainers

This package is maintained by Cisco Webex for Developers.

Contribute

Pull requests welcome. Please see CONTRIBUTING.md for more details.

License

Ā© 2016-2018 Cisco and/or its affiliates. All Rights Reserved.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.