@webex/helper-image

3.0.0 • Public • Published

@webex/helper-image

standard-readme compliant

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

Install

npm install --save @webex/helper-image

Usage

updateImageOrientation(file, options)

Updates the image file with exif information, required to correctly rotate the image activity. Can specify options.shouldNotAddExifData to not add exif information. For example, clients may not need the exif data added if browsers already auto orient the image

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-2020 Cisco and/or its affiliates. All Rights Reserved.

/@webex/helper-image/

    Package Sidebar

    Install

    npm i @webex/helper-image

    Weekly Downloads

    10,906

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    58 kB

    Total Files

    22

    Last publish

    Collaborators

    • arun3528
    • npm.tropo
    • webex-jenkins
    • adamweeks
    • taymoork2
    • webex-components-publisher
    • webex-web-client