react-native-pdf-to-image
Version:
A react native plugin to convert PDF pages to images
25 lines (15 loc) • 511 B
Markdown
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 */'] }
```
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
MIT
```sh
npm install react-native-pdf-to-image
```
```js
import { convert, convertB64 }