Skip to content

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

License

Notifications You must be signed in to change notification settings

ehsanbigzad/react-native-raw-image

Repository files navigation

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