react-native-video-to-gif

0.0.3 • Public • Published

react-native-video-to-gif

Convert video to gif

Note: this project is ios only, but any PR are welcome

Installation Process

  • download this from npm
npm install react-native-video-to-gif --save

Auto linking

  • Not yet supported for now, any PR are welcome

Manual linking

  • Add RNNSGif.xcodeproj to Libraríe folder on Xcode Project :

  • Add libRNNSGif.a to Link Binary with Libraris in Build Phases:

Usage

import RNGif from 'react-native-video-to-gif';

// methods (Just iOs for now)
RNGif.convert(pathToLocalVideo).then((gifPath) => {
  console.log('Video is converted to gif at: ', gifPath);
});

Package Sidebar

Install

npm i react-native-video-to-gif

Weekly Downloads

2

Version

0.0.3

License

ISC

Last publish

Collaborators

  • lequanghuylc