Skip to content

dohard-ma/react-native-image-rotate

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 52.8%
  • Objective-C 27.4%
  • JavaScript 11.3%
  • Python 5.8%
  • Ruby 2.5%
  • Shell 0.2%