Skip to content

react native library for converting images to rgb array buffers

License

Notifications You must be signed in to change notification settings

oneclick-llc/react-native-image-to-rgb

 
 

Repository files navigation

react-native-image-to-rgb

library for converting images to rgb array buffers. This may be useful eg. if you want to detect what's on the image using https://github.com/mrousavy/react-native-fast-tflite. Library accepts both local and remote URIs.

Installation

npm install react-native-image-to-rgb

Usage

import { convertToRGB } from 'react-native-image-to-rgb';

// ...

const result = await convertToRGB(imageUri);
// result = [255, 254, 0, .....]

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

About

react native library for converting images to rgb array buffers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 26.5%
  • TypeScript 17.4%
  • Ruby 16.2%
  • Objective-C++ 15.4%
  • JavaScript 13.2%
  • Objective-C 10.6%
  • Other 0.7%