
Completed
Posted
Paid on delivery
I have some issues with a small Python script that takes a folder of JPEGs and merges them into one PDF through the img2pdf library. The core logic is in place, but three persistent headaches remain: some images refuse to convert, the resulting PDF occasionally comes out corrupted or out of order, and every now and then the script throws runtime errors that halt the process entirely. While you’re inside the code, I’d also like two modest upgrades: • Image compression so the final PDF is reasonably sized without a visible loss of quality. • A clean, custom-naming option that lets me specify the output PDF name from the command line or a simple GUI prompt. Everything is executed on Windows, so please make sure any path handling, dependencies, or testing aligns with that environment. Deliverables: • A fully debugged script with clear inline comments showing your fixes. • Implementation of compression and custom file-naming features. • Quick README explaining setup, usage, and any new arguments you added. • Confirmation that the script runs end-to-end on Windows with a sample image set. If you’ve wrestled with img2pdf, Pillow, or similar libraries before, this should be a straightforward task. Looking forward to getting a rock-solid version back.
Project ID: 40385799
130 proposals
Remote project
Active 1 day ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

⭐Hello, I’d be happy to help stabilize and enhance your Python image-to-PDF script. I’ve worked with img2pdf, Pillow, and file-processing workflows, so I understand the common pitfalls around image compatibility, ordering, and runtime failures—especially on Windows. Here’s how I’ll approach your project: ✔ Debug conversion issues (unsupported JPEGs, format inconsistencies, metadata problems) ✔ Fix PDF corruption and ensure correct image ordering during merge ✔ Handle runtime errors with proper validation and fail-safe logic ✔ Add image compression to reduce file size without noticeable quality loss ✔ Implement custom output naming via CLI (and optional simple GUI prompt) ✔ Ensure full Windows compatibility (paths, dependencies, execution flow) ✔ Provide clean, well-commented code and a simple README for setup and usage My goal is to deliver a reliable, error-free script that runs smoothly end-to-end and is easy for you to maintain or extend. Best regards,
$90 USD in 1 day
1.9
1.9
130 freelancers are bidding on average $130 USD for this job

Hello, I will debug your img2pdf script — fixing the conversion failures, corrupted output, and runtime errors — then add Pillow-based compression and a command-line/GUI naming option. For the ordering issue, I will sort files using natural numeric sorting rather than default lexicographic order, which is likely why pages scramble when filenames lack zero-padded numbers. I will also add try/except per image so one bad file does not halt the entire batch. Questions: 1) Are the failing images CMYK or unusually high-resolution JPEGs? 2) Do you prefer argparse for naming, or a simple tkinter dialog? Ready to start whenever you are. Kamran
$90 USD in 5 days
8.4
8.4

Hello, As a team of skilled professionals at Live Experts, we are uniquely positioned to tackle and fine-tune your Python PDF merge script. Our collective skill pool includes extensive experience in software development and scripting, making the debugging and enhancement of your script a stroll in the park for us. We understand the uniqueness of your requirements, and we can assure you that our solid background in Python, along with libraries such as img2pdf and Pillow, ensures that we are already equipped to solve each of the persistent issues you've experienced. Our expertise extends beyond bug fixing; we specialize in providing comprehensive solutions. In line with your modest upgrade ideas, we have the knowledge to implement image compression without compromising quality, keeping file-size reduction intact. Additionally, we can easily integrate the custom-naming functionality from a command line or GUI prompt into your existing script. Most importantly, your preference for Windows compatibility specifically aligns with our familiarity within this environment; it has been our primary operating system for years. With us, you also get clarity and transparency - our thorough documentation skills guarantee a clear inline explanation of our fixes and an easy-to-follow README file on how to set up and run the script. Lastly, rest assured that our deliverables will be subjected to complete end-to-end testing on a Windows platform usin Thanks!
$250 USD in 75 days
8.5
8.5

Hello I am Python developer and I have almost 10 years of experience, including processing PDF documents, and img2pdf. Also, I worked with similar project about 1 year ago. I see there is thing "some images refuse to convert" and maybe those images are corrupted - if it's needed to just skip them and continue - it's easy to fix. I am ready to start once you share script to fix. Thanks.
$49.25 USD in 1 day
8.1
8.1

Hello I have thoroughly reviewed your project description and am confident in my ability to assist you in completing it successfully. I believe it would be highly beneficial to delve deeper into the specifics of the job to determine the most effective way forward. I am open to scheduling an interview at your convenience, and I genuinely appreciate the chance to collaborate with you on this project. Your response is eagerly anticipated, and I'm excited about the prospect of working together. Thank you for considering my proposal. Looking forward to your prompt reply! Best regards Rekha!!!
$250 USD in 7 days
7.9
7.9

Hi, I have read your project details that's pretty simple for me am sure I can do this but I have some questions to ask so please message me for other details thanks
$50 USD in 1 day
7.7
7.7

Hi, I’ve worked extensively with Python libraries like img2pdf and Pillow, developing solutions that convert images to PDFs while optimizing for size and quality. I also have experience with Windows-specific issues, such as file paths and dependencies. In a recent project, I created a web app that converted images to PDFs and allowed users to reorder images before finalizing the PDF. This involved implementing a custom image compression algorithm to ensure the final output was as small as possible without sacrificing quality. For your project, I suggest using a different library called pdf2image, which can convert PDFs back to images. This way, we can use the same library for both directions, ensuring consistent quality and reducing the need for multiple libraries. Let’s schedule a 10-minute introductory call to discuss your project in more detail and see if I’m the right fit. I usually respond within 10 minutes. I’m eager to learn more about your exciting project. Best regards, Adil
$163.78 USD in 7 days
7.2
7.2

As a top-rated Python dev with over 13 years of experience, I'm confident in my ability to quickly and effectively debug your Python script and add the features you've requested. In particular, I've dealt extensively with implementations utilizing img2pdf, Pillow, and similar libraries – meaning your project falls right within my considerable expertise. Your Windows environment is no problem – I’ve accomplished numerous projects on this platform before. To tackle the bugs causing failed image conversion, corrupted ordering, and runtime errors – you can rely on my keen debugging skills honed by years of working with complex scripts. Additionally, I will enhance your script by incorporating compression to maintain a reasonable PDF size without sacrificing quality - a detail that I understand is crucial. The final upgrade will be a clean custom-naming feature accessible from either a GUI prompt or command line offering you ease and flexibility. With me on board, expect delivery of a fully tested/debugged script complete with the aforementioned features along with comprehensive inline comments for future reference. Let's work together!
$150 USD in 1 day
7.2
7.2

Hi. I am an expert with Python image processing. So I believe this project is great fit for me. When we use img2pdf, can overlay it on pdf with lossless. Please contact me to discuss more details. Thanks
$200 USD in 2 days
6.6
6.6

Hi there, I am the best here! Please check out my profile and see what others have to say about the work I've done related to the skills you're looking for. Hope to work together soon. -- Thanks!
$200 USD in 7 days
6.8
6.8

Hi, I can help stabilise your JPEG-to-PDF script and make it much more reliable on Windows. I’ve worked with Python, Pillow, and img2pdf before, so I can debug the conversion failures, fix ordering and corruption issues, and add proper error handling so one bad image does not stop the whole process. I can also implement image compression to reduce PDF size without noticeable quality loss, plus a clean output naming option through either command-line arguments or a simple GUI prompt. Along with the updated script, I’ll include clear inline comments, a short README, and confirm everything works end-to-end on Windows with a sample image set. Looking forward for your positive response in the chatbox. Best Regards, Arbaz M
$140 USD in 3 days
6.6
6.6

Hi, This looks like a typical img2pdf pipeline that’s mostly working but breaking on edge cases like inconsistent image formats, ordering, and runtime handling. The conversion issues usually come from mixed JPEG encodings (CMYK, progressive, corrupted headers), while PDF corruption or wrong order often happens when file sorting or stream handling isn’t consistent. Runtime crashes are likely due to unhandled exceptions when a single image fails. I’ve worked on similar Python processing scripts where stability mattered more than raw speed, especially around file handling and batch operations. I’d approach this by first normalizing all images through Pillow before passing them to img2pdf, which avoids most compatibility issues. I’d also enforce deterministic sorting (by filename or EXIF if needed) and wrap the pipeline with proper try/except so one bad image doesn’t stop the whole run. For compression, I’d preprocess images with controlled JPEG quality and optional resizing before merging, so the PDF stays small without visible loss. The custom naming can be added via argparse for CLI, with an optional simple GUI prompt using Tkinter if needed. One detail that needs care is Windows path handling and file locks, especially when reading large batches. I’d make sure everything runs cleanly in that environment. Main unknown is the exact nature of failing images, but that can be handled once inspected. I can make this stable and easy to use end-to-end. Thanks, Denis.
$100 USD in 2 days
6.2
6.2

Hi, I can debug and stabilize your Python script to ensure consistent JPEG-to-PDF conversion using img2pdf, eliminating corruption, ordering issues, and runtime errors. I’ve worked with Pillow/img2pdf and will handle problematic images, enforce correct sorting, and add robust error handling so the process doesn’t break. I’ll also implement efficient image compression and a flexible output naming option (CLI + optional GUI prompt). You’ll receive a clean, well-commented script, plus a short README with setup and usage. I’ll test everything end-to-end on Windows to ensure reliability. Ready to review your current code and fix this quickly.
$220 USD in 3 days
6.0
6.0

Hi, I have 9 years experience in (Python, img2pdf, Pillow, debugging, scripting, and Windows-based automation). For this project, I am going to fix the conversion failures, ensure stable image ordering, and eliminate runtime crashes by tightening validation, sorting, and error handling, then add controlled image compression (via Pillow preprocessing) and a clean output naming option (CLI + optional simple GUI) so the script runs reliably end-to-end on Windows. I have real hands-on experience stabilizing file-processing scripts where edge cases, corrupted inputs, and ordering issues cause exactly these problems. You can expect clear communication, fast turnaround, and a high-quality result. Best regards, Juan
$140 USD in 1 day
5.8
5.8

I’ll fix your img2pdf pipeline by handling edge-case JPEG issues (corrupt/CMYK/EXIF rotation), enforcing consistent sorting, and wrapping the conversion in safe batch processing so one bad image won’t crash the script. I’ll also add Pillow-based compression + CLI-based output naming for Windows compatibility. I’ve handled similar PDF automation issues before where ordering + encoding caused failures.
$140 USD in 2 days
5.3
5.3

Hi there, I am a Data Scientist and am a professional responsible for extracting actionable insights and knowledge from large volumes of data. As an experienced Data Scientist in the field of machine learning, I am highly proficient in Python and have a deep understanding of algorithms and data structures. My skills make me a great fit for your project as I can guide you through comprehensive coverage of data structures and algorithms while providing patient and thorough explanations. I have over 12-plus years of experience with Python Library Pandas, Karas, TensorFlow, NumPy, PyCharm, Py torch, Open CV, NLP, and others. With over a decade's worth of experience under my belt, including expertise in NLP, Neural Networks, CNNs, RNNs, LSTM, GANs just to mention a few, I can provide you not only with knowledge but also how to apply it efficiently. Partnering with me ensures you have a patient, knowledgeable and skilled tutor who is dedicated to your success in this field. My top priority is to provide a high quality of work, https://www.freelancer.com/u/GdevDataSceince Let's discuss this further via chat, and I'll start your project right now. Thanks Gdev
$100 USD in 7 days
5.7
5.7

Hello, I will upgrade and fix the issues of your small Python script. I have wrestled with img2pdf, Pillow and similar libraries before. Please message me to discuss the requirements in more detail. I am looking forward to working with you, Fahad.
$100 USD in 2 days
5.7
5.7

Hello, hope you're doing well. I can fix your Python script—resolve conversion errors, ensure correct image order, and prevent PDF corruption. I’ll also add compression and a custom output naming option (CLI or simple prompt). Quick question: are your images all in RGB or mixed formats (CMYK/PNG/JPEG)? Please come to inbox so we can review the script and fix it quickly. Regards, C YASIR
$80 USD in 3 days
5.5
5.5

Hello [ClientFirstName], I hope you are doing well. I’m an independent Python developer with a track record of debugging and refining automation scripts on Windows. I specialize in robust image processing pipelines, reliable PDF generation, and clean path handling so outputs stay consistent across environments. I’ll dive into your img2pdf-based workflow, identify the failure points that cause some JPEGs to fail, fix ordering and corruption issues, and harden the script against runtime errors. In similar projects I’ve debugged image-to-PDF tasks, implemented safe image loading, added optional compression to reduce file size without perceptible quality loss, and built a simple command line (or GUI prompt) for custom output naming. I’ll document every fix with clear inline comments and provide a README that explains setup, new arguments, and Windows-specific steps. The result will be a stable, well-documented script that you can run end-to-end on Windows with confidence. Please feel free to contact me so we can discuss more details. I am looking forward to the chance of working together. Best regards, Billy Bryan
$250 USD in 5 days
5.1
5.1

Hello, I appreciate the opportunity to assist with your Python script issues. I understand that you're facing challenges with image conversion, PDF corruption, runtime errors, and you're also looking for enhancements in image compression and custom naming. With extensive experience in Python and libraries like img2pdf and Pillow, I have successfully tackled similar challenges in the past. My expertise includes debugging scripts, optimizing image processing, and enhancing user interaction through command line or GUI options. To address your project needs, I propose the following approach: - Thoroughly debug the existing script to resolve conversion issues and runtime errors. - Implement image compression techniques to ensure quality while reducing file size. - Add a custom naming feature for the output PDF, accessible via command line or GUI prompt. - Conduct comprehensive testing on Windows to confirm functionality and compatibility. I am eager to start working on this project, confident that I can deliver a reliable and efficient solution. Please feel free to reach out if you’d like to discuss further details or if you have any questions. Thank you for considering my proposal!
$30 USD in 7 days
4.8
4.8

I’m an experienced Python developer with hands-on work using img2pdf and Pillow, and I can fix the issues in your script to ensure stable image conversion, correct ordering, and no runtime crashes. I’ll also add efficient image compression to reduce PDF size without quality loss, along with a clean custom naming option via command line or simple prompt. The final script will be well-commented, tested on Windows, and delivered with a clear README for easy setup and use.
$50 USD in 1 day
5.0
5.0

Los angeles, United States
Payment method verified
Member since Feb 6, 2026
$10-30 USD
₹400-750 INR / hour
€12-18 EUR / hour
$2-8 USD / hour
$10-30 USD
$10-30 USD
$1500-3000 USD
₹1500-12500 INR
$10-30 USD
$10-300 USD
₹37500-75000 INR
€30-250 EUR
min $50 USD / hour
$30-250 USD
₹750-1250 INR / hour
$2-8 USD / hour
₹1500-12500 INR
₹600-1500 INR
€30-250 EUR
$100-175 USD
$250-750 USD