A simple Python script to convert each page of a PDF document into individual PNG images. This script utilizes the pdf2image library to efficiently extract and save PDF pages as high-quality images.
Converts all pages of a PDF into images.
Automatically creates the output directory if it doesn't exist.
Saves each page with a sequentially numbered filename.
Python 3.6 or higher.
Required Python packages: pdf2image, Pillow.