This package has been deprecated

Author message:

WARNING: We renamed this module to @webex/helper-image. Please install it instead. See https://github.com/webex/spark-js-sdk#the-cisco-webex-js-sdk for more information.

@ciscospark/helper-image

1.52.2 • Public • Published

@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.

/@ciscospark/helper-image/

    Package Sidebar

    Install

    npm i @ciscospark/helper-image

    Weekly Downloads

    127

    Version

    1.52.2

    License

    MIT

    Unpacked Size

    52.1 kB

    Total Files

    15

    Last publish

    Collaborators

    • webex-jenkins
    • adamweeks