Socket
Socket
Sign inDemoInstall

@astronomersiva/rotate-image

Package Overview
Dependencies
48
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @astronomersiva/rotate-image

Rotates an image by n degrees using node-canvas.


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

rotate-image Travis Build Status

Rotates a given image by n degrees with node-canvas.

Install

  • Run npm install -g @astronomersiva/rotate-image.

Usage

  • dest is optional. Defaults to rotated-${src}.
(async () => {
  const rotate = require('rotate-image');
  const options = {
    src: 'hello.png',
    dest: 'rotated.png',
    rotation: 60
  };

  await rotate(options);
})();

Screenshots

Before Rotation Before

After Rotation After

FAQs

Last updated on 08 May 2018

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