Home > Enterprise >  How to use command line tool like gif2webp in react native?
How to use command line tool like gif2webp in react native?

Time:01-29

I want to convert gif to webp file in my react native app to send it to other app for further process. After trying many ways I found that this gif2webp command line can do the job and I can convert the gif to webp using cmd in windwos but do not have idea how to integrate it with react native.

tool:https://developers.google.com/speed/webp/docs/gif2webp

If I want to use it with Java files in react native or other rn modules then how to use it? I tried with Process builder but it says could not find the gif2webp.

I searched for RN modules but could not found any. It will be great help if you can suggest anything.

CodePudding user response:

use ffmpeg react native package. It contains libwebp which w

CodePudding user response:

Check this out. It contains similar tools https://github.com/tanersener/mobile-ffmpeg

  •  Tags:  
  • Related