{"id":23929312,"url":"https://github.com/m-ah07/PDF-to-Images-Conversion-python","last_synced_at":"2025-09-11T13:32:17.673Z","repository":{"id":268431493,"uuid":"900212252","full_name":"marwan-ahmed-23/PDF-to-Images-Conversion-python","owner":"marwan-ahmed-23","description":"A lightweight Python service for converting PDF files into images using pdftoppm. It generates one PNG image per page in the PDF.","archived":false,"fork":false,"pushed_at":"2024-12-27T06:20:24.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T07:21:50.495Z","etag":null,"topics":["file-conversion","image-extraction","image-processing","open-source","open-source-python","pdf-to-image","pdf-tools","python-library","python-scripts","python-utilities"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marwan-ahmed-23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-08T06:59:21.000Z","updated_at":"2024-12-27T06:27:08.000Z","dependencies_parsed_at":"2024-12-16T18:39:22.991Z","dependency_job_id":"718e00ef-d1d5-4183-820e-d8a5e5635cc4","html_url":"https://github.com/marwan-ahmed-23/PDF-to-Images-Conversion-python","commit_stats":null,"previous_names":["marwan-ahmed-23/pdf-to-images-conversion-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FPDF-to-Images-Conversion-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FPDF-to-Images-Conversion-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FPDF-to-Images-Conversion-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FPDF-to-Images-Conversion-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marwan-ahmed-23","download_url":"https://codeload.github.com/marwan-ahmed-23/PDF-to-Images-Conversion-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232651109,"owners_count":18555934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-conversion","image-extraction","image-processing","open-source","open-source-python","pdf-to-image","pdf-tools","python-library","python-scripts","python-utilities"],"created_at":"2025-01-05T23:16:17.291Z","updated_at":"2025-09-11T13:32:17.650Z","avatar_url":"https://github.com/marwan-ahmed-23.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF to Images Conversion (Python)\n\nA lightweight Python service for converting PDF files into images using `pdftoppm`. It generates one PNG image per page in the PDF.\n\n---\n\n## 🚀 Features\n\n- Converts PDF files to PNG images.\n- Outputs one image per page in the PDF.\n- Lightweight and easy to use.\n\n## ⚙️ Requirements\n\n- Python 3.7 or higher.\n- `pdftoppm` installed on the system (part of `poppler-utils`).\n\n## 🔧 Installation\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/m-ah07/PDF-to-Images-Conversion-python.git\n    ```\n\n2. Install `pdftoppm` (if not already installed):\n\n    ```bash\n    sudo apt install poppler-utils\n    ```\n\n## 📖 Usage\n\n### Example\n\nUse the provided example script in the `examples/` directory:\n\n```bash\nfrom src.pdf_to_images import PdfToImages\n\npdf_path = \"sample.pdf\"\noutput_dir = \"output\"\n\nconverter = PdfToImages(pdf_path, output_dir)\nimages = converter.convert()\n\nprint(images)\n```\n\nPlace a sample PDF in the `examples/` folder and run the script:\n\n```bash\npython examples/example.py\n```\n\n## 📂 Directory Structure\n```plaintext\nPDF-to-Images-Conversion-python/\n├── examples/\n│   └── example.py\n├── src/\n│   └── pdf_to_images.py\n├── LICENSE\n├── .gitignore\n└── README.md\n```\n\n## 🤝 Contributing\n\nContributions are welcome! Feel free to submit a pull request or open an issue to report bugs or suggest features.\n\n## 🌟 Show Your Support\n\nIf you found this project helpful, please consider giving it a ⭐ on GitHub. Your support means the world to us!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2FPDF-to-Images-Conversion-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-ah07%2FPDF-to-Images-Conversion-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2FPDF-to-Images-Conversion-python/lists"}