Welcome to PDF Genie! Your ultimate tool for converting PDF files into images effortlessly. π
- Convert PDFs to Images: Transform each page of your PDF into high-quality images.
- Easy to Use: Simple command-line interface for quick conversions.
- Custom Output Directory: Specify where you want your images saved.
-
Clone the Repository:
git clone https://github.com/rikukawano/pdf-genie.git cd pdf-genie
-
Install Dependencies:
bun install
-
Install GraphicsMagick:
- macOS:
brew install graphicsmagick brew install ghostscript
- Ubuntu/Debian:
sudo apt-get install graphicsmagick sudo apt-get install ghostscript
- macOS:
-
Verify Installation:
gm -version
Convert your PDFs to images with a single command:
bun index.ts [options] <files...>
-o, --output <directory>
: Specify the output directory for the converted images (default:output
).
bun index.ts -o my_images /path/to/your/file.pdf
This project is licensed under the MIT License.
Happy Converting! π