ehsanbigzad / react-native-raw-image

Convert raw images (.dng, .nef, .rw2, .cr2 and .arw tested) to png

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-raw-image

Convert raw images (.dng, .nef, .rw2, .cr2 and .arw tested) to png, only android implemented.

Personal project not recommended for production.

Installation

npm install react-native-raw-image

Usage

rawToPng(path: string) => Promise<string | null>;
import { rawToPng } from 'react-native-raw-image';

rawToPng('file:///data').then(photo => {
    // photo saved at cache folder
});

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

Convert raw images (.dng, .nef, .rw2, .cr2 and .arw tested) to png

License:MIT License


Languages

Language:Java 50.6%Language:Ruby 16.8%Language:Objective-C 12.3%Language:JavaScript 8.4%Language:Objective-C++ 5.2%Language:TypeScript 4.9%Language:Swift 1.3%Language:C 0.5%