{"id":26015500,"url":"https://github.com/imshaa/pdfmerger_image-resizer","last_synced_at":"2026-04-21T06:07:10.922Z","repository":{"id":279058855,"uuid":"937604684","full_name":"imshaa/PdfMerger_Image-Resizer","owner":"imshaa","description":"I've made a Pdf Merger and Image resizer in Python Using Pypdf2 and OpenCv.","archived":false,"fork":false,"pushed_at":"2025-02-23T13:36:04.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T03:18:30.075Z","etag":null,"topics":["imageresizer","opencv","opencv-python","pdfmerger","pypdf2","python","python-library","python-pypdf2"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imshaa.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":"2025-02-23T13:28:22.000Z","updated_at":"2025-02-23T14:29:50.000Z","dependencies_parsed_at":"2025-02-23T14:31:45.819Z","dependency_job_id":"902a5d05-3a8b-46b3-b463-fd740cc4e552","html_url":"https://github.com/imshaa/PdfMerger_Image-Resizer","commit_stats":null,"previous_names":["imshaa/pdfmerger_-image-resizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imshaa/PdfMerger_Image-Resizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imshaa%2FPdfMerger_Image-Resizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imshaa%2FPdfMerger_Image-Resizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imshaa%2FPdfMerger_Image-Resizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imshaa%2FPdfMerger_Image-Resizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imshaa","download_url":"https://codeload.github.com/imshaa/PdfMerger_Image-Resizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imshaa%2FPdfMerger_Image-Resizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27562175,"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","status":"online","status_checked_at":"2025-12-07T02:00:07.896Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["imageresizer","opencv","opencv-python","pdfmerger","pypdf2","python","python-library","python-pypdf2"],"created_at":"2025-03-06T03:18:33.437Z","updated_at":"2025-12-07T06:03:04.626Z","avatar_url":"https://github.com/imshaa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Merger \u0026 Image Resizer\n\n## Description\nThis Python script provides two functionalities:\n1. Merging multiple PDF files into a single PDF.\n2. Resizing an image by 50% and saving it with a new filename.\n\n## Features\n- **PDF Merger:** Allows users to merge multiple PDFs into a single document.\n- **Image Resizer:** Resizes an image to 50% of its original size.\n- **User Input Friendly:** Users can choose between PDF merging and image resizing via an input prompt.\n\n## Requirements\nEnsure you have the following dependencies installed before running the script:\n\n```bash\npip install PyPDF2 opencv-python\n```\n\n## How to Use\n1. Run the script:\n    ```bash\n    python script.py\n    ```\n2. Choose an option:\n    - Enter `0` for image resizing.\n    - Enter `1` for PDF merging.\n3. Follow the on-screen instructions:\n    - **For PDF merging:** Enter the filenames of the PDFs you want to merge (separated by space).\n    - **For Image resizing:** Enter the filename of the image to resize and the desired output filename.\n4. **Important:** If you want to resize an image or merge PDFs, make sure to drag your file to your IDE or the folder where you are running this project. At the input prompt, enter the name of that file correctly.\n\n## Example Usage\n### Merging PDFs\n```bash\nEnter 1 for PdfMerger: 1\nEnter the PDF filenames to merge (separated by space): file1.pdf file2.pdf file3.pdf\n```\n_Output:_ A new file `merged.pdf` will be created.\n\n### Resizing an Image\n```bash\nEnter 0 for Image resizing: 0\nEnter the Image name you want to resize: image.jpg\nEnter the new name for image: resized_image.jpg\n```\n_Output:_ A new resized image `resized_image.jpg` will be saved.\n\n## License\nThis project is open-source and available for use under the MIT License.\n\n## Author\nIMSHA NADEEM\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimshaa%2Fpdfmerger_image-resizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimshaa%2Fpdfmerger_image-resizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimshaa%2Fpdfmerger_image-resizer/lists"}