@feidao-msz/react-native-image-rotate
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

react-native-image-rotate

This project supports react-native >= 0.40.0

This module is meant to be used together with react-native's ImageEditor to create full-featured crop tool

Installation

First install the package via npm

$ npm install react-native-image-rotate

then use rnpm to link native libraries

$ react-native link react-native-image-rotate

Usage

Package exposes only one class that contains one method with following signature:

static rotateImage(
    uri: string,
    angle: number,
    success: (uri: string) => void,
    failure: (error: Object) => void
  ) : void

Example

Check the Example directory for a working iOS/Android example

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.1.2
    2
  • 2.1.1
    0
  • 2.1.0
    0

Package Sidebar

Install

npm i @feidao-msz/react-native-image-rotate

Weekly Downloads

2

Version

2.1.2

License

MIT

Unpacked Size

177 kB

Total Files

51

Last publish

Collaborators

  • mashizhen