{"id":23929330,"url":"https://github.com/m-ah07/Merge-Images-to-PDF-python","last_synced_at":"2025-09-11T13:32:24.187Z","repository":{"id":266418781,"uuid":"898294030","full_name":"marwan-ahmed-23/Merge-Images-to-PDF-python","owner":"marwan-ahmed-23","description":"A Python project for merging multiple images into a single PDF file. This tool is designed to simplify the process of consolidating images into a single, compact file format.","archived":false,"fork":false,"pushed_at":"2024-12-27T06:39:22.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T07:26:07.510Z","etag":null,"topics":["data-processing","developer-tools","file-merging","image-processing","image-to-pdf","open-source","open-source-python","pdf-creation","pdf-tools","python","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":"LICENSE","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-04T06:19:37.000Z","updated_at":"2024-12-27T06:41:30.000Z","dependencies_parsed_at":"2024-12-04T07:28:20.627Z","dependency_job_id":"1abbe926-cddc-41b7-a058-2a6bdf0820d4","html_url":"https://github.com/marwan-ahmed-23/Merge-Images-to-PDF-python","commit_stats":null,"previous_names":["marwan-ahmed-23/merge-images-to-pdf-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FMerge-Images-to-PDF-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FMerge-Images-to-PDF-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FMerge-Images-to-PDF-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FMerge-Images-to-PDF-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/Merge-Images-to-PDF-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":["data-processing","developer-tools","file-merging","image-processing","image-to-pdf","open-source","open-source-python","pdf-creation","pdf-tools","python","python-library","python-scripts","python-utilities"],"created_at":"2025-01-05T23:16:22.973Z","updated_at":"2025-09-11T13:32:24.176Z","avatar_url":"https://github.com/marwan-ahmed-23.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Merge Images to PDF (Python)\n\nA Python project for merging multiple images into a single PDF file. This tool is designed to simplify the process of consolidating images into a single, compact file format.\n\n---\n\n## 🚀 Features\n- Merge multiple images (JPEG, PNG, etc.) into a single PDF.\n- Supports basic image resizing to fit within the PDF pages.\n- Easy-to-use modular structure.\n\n## ⚙️ Requirements\n\n- Python 3.8+\n- Install dependencies using:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## 🔧 Installation\n\nTo use this project, follow these steps:\n\n1. **Clone the Repository**\n    \n    Clone this repository to your local machine:  \n    \n    ```bash\n    git clone https://github.com/m-ah07/Merge-Images-to-PDF-python.git\n    cd Merge-Images-to-PDF-python\n    ```\n\n2. **Create a Virtual Environment (Optional)**\n\n    It is recommended to use a virtual environment for Python projects:\n    \n   ```bash\n    python -m venv venv\n    source venv/bin/activate        # On macOS/Linux\n    venv\\Scripts\\activate           # On Windows\n   ```\n\n3. **Install Dependencies**\n\n    Install the required Python libraries using pip:\n    \n   ```bash\n    pip install -r requirements.txt\n   ```\n\n4. **Run Examples**\n\n    Test the functionality by running the example script:\n    \n   ```bash\n    python examples/example.py\n   ```\n\n\n\u003e### Notes:\n\u003e Ensure the file `requirements.txt` contains the dependencies: `fpdf` `pillow`\n\n## Example\n\n```bash\nfrom src.merge_images_to_pdf import merge_images_to_pdf\n\nimages = [\"image1.jpg\", \"image2.png\", \"image3.jpeg\"]\noutput_path = \"output.pdf\"\n\nmerge_images_to_pdf(images, output_path)\nprint(f\"PDF saved at {output_path}\")\n```\n\n## 📂 Directory Structure\n```plaintext\nMerge-Images-to-PDF-python/\n├── examples/\n│   └── example.py\n├── src/\n│   └── merge_images_to_pdf.py\n├── LICENSE\n├── README.md\n└── .gitignore\n```\n\n## 🤝 Contributing\n\nFeel free to fork this repository and submit pull requests to enhance functionality or add 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%2FMerge-Images-to-PDF-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-ah07%2FMerge-Images-to-PDF-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2FMerge-Images-to-PDF-python/lists"}