Converting a PDF to an image

Installation

$ pip install pdf2image
$ pip install pillow

For MacOS, pdf2image require **poppler**
$ brew install poppler

How to use

By default, create a pdfs folder and put in it all the pdfs to convert to image

Run the script ⚙️

Done 🙌