/react-native-pdf-to-image

React Native Plugin for converting PDF documents to image files

Primary LanguageJavaMIT LicenseMIT

react-native-pdf-to-image

Installation

npm install react-native-pdf-to-image

Usage

import { convert, convertB64 } from 'react-native-pdf-to-image';

const uri = 'file:///data/.........' // Any PDF file uri
const images = await convert(uri);   // { outputFiles: [' /* image file path in cache */'] }

Contributing

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

License

MIT