Socket
Socket
Sign inDemoInstall

@webex/helper-image

Package Overview
Dependencies
94
Maintainers
21
Versions
1173
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @webex/helper-image

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


Version published
Weekly downloads
8.4K
increased by6.05%
Maintainers
21
Created
Weekly downloads
 

Readme

Source

@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

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

FAQs

Last updated on 06 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc