0.1.0 • Published 3 months ago

react-native-image-to-rgb v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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

0.1.0

3 months ago