{"id":23091147,"url":"https://github.com/das-amlan/pdf_image_extractor_web_app","last_synced_at":"2025-09-01T03:35:29.310Z","repository":{"id":265894082,"uuid":"695509490","full_name":"das-amlan/PDF_Image_Extractor_Web_App","owner":"das-amlan","description":"This is a simple web app that allows users to upload a PDF file, extract images from the PDF, and display the images in the web app.","archived":false,"fork":false,"pushed_at":"2024-12-01T12:14:41.000Z","size":15179,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-16T08:41:25.190Z","etag":null,"topics":["fitz","flask","html","pymupdf-fitz","python","streamlit"],"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/das-amlan.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":"2023-09-23T12:08:50.000Z","updated_at":"2024-12-12T13:27:13.000Z","dependencies_parsed_at":"2024-12-01T12:42:22.364Z","dependency_job_id":null,"html_url":"https://github.com/das-amlan/PDF_Image_Extractor_Web_App","commit_stats":null,"previous_names":["das-amlan/pdf_image_extractor_web_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/das-amlan/PDF_Image_Extractor_Web_App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das-amlan%2FPDF_Image_Extractor_Web_App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das-amlan%2FPDF_Image_Extractor_Web_App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das-amlan%2FPDF_Image_Extractor_Web_App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das-amlan%2FPDF_Image_Extractor_Web_App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/das-amlan","download_url":"https://codeload.github.com/das-amlan/PDF_Image_Extractor_Web_App/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das-amlan%2FPDF_Image_Extractor_Web_App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273069852,"owners_count":25040135,"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-09-01T02:00:09.058Z","response_time":120,"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":["fitz","flask","html","pymupdf-fitz","python","streamlit"],"created_at":"2024-12-16T21:17:44.392Z","updated_at":"2025-09-01T03:35:29.284Z","avatar_url":"https://github.com/das-amlan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Image Extractor Web App\nThis is a simple web app built with Flask that allows users to upload a PDF file, extract images from the PDF, and display the images in the web app.\n\n## Getting Started\nTo run the web app, you need to have Python 3 and Flask installed on your system. You can install Flask using pip:\n```\npip install Flask\n```\n\n\nAfter installing Flask, clone this repository to your local machine:\n```\ngit clone https://github.com/your_username/pdf-image-extractor.git\n```\n\n\n## Running the Web App\nTo run the web app, navigate to the project directory and run the pdfExtract.py script:\n```\ncd pdf-image-extractor\npython pdfExtract.py\n```\n\n\nThis will start the Flask development server on `http://localhost:5000/`. You can access the web app by opening this URL in your web browser.\n\n\n## Uploading a PDF File\nTo extract images from a PDF file, click the \"Upload PDF\" button on the home page. This will take you to the `upload_pdf.html` page, where you can select a PDF file to upload.\n\n\n## Extracting Images from the PDF\nAfter uploading a PDF file, the web app will extract images from each page of the PDF using the `PyMuPDF` library. The `extract_images_from_page` function in `pdfExtract.py` is responsible for extracting images from the PDF.\n\n\n## Displaying Extracted Images\nOnce the images are extracted, they are saved to the images folder with unique filenames using `uuid.uuid4()`. The `display_images.html` template in the templates folder displays the extracted images using the url_for function.\n\n\n## Conclusion\nThat's it! You now have a simple web app that can extract images from a PDF file and display them in the browser. You can further customize and improve the app according to your requirements.\n\nI hope this helps!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdas-amlan%2Fpdf_image_extractor_web_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdas-amlan%2Fpdf_image_extractor_web_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdas-amlan%2Fpdf_image_extractor_web_app/lists"}