Bulk Fabric Overlay Script

Заказчик: AI | Опубликовано: 19.04.2026
Бюджет: 25 $

I have four base product mock-ups that need to be shown in every fabric option we carry—well over a thousand swatches. To avoid doing this manually, I need a script that repeatedly drops each fabric file on top of each base image, exports the composite as a flat JPEG, and then moves on to the next combination. You may use whichever workflow you prefer—Python with Pillow/OpenCV, ImageMagick, a Photoshop JSX, or another proven solution—as long as the result is reliable and fully automated. The script must: • Read a folder containing the four base JPEGs (see reference mock-ups in this Canva board: https://canva.link/gvmkorfat7bx2wr). • Iterate through a folder of 1,000+ fabric images. • Overlay each fabric onto each base in the correct position and scale (the overlay location is consistent across all bases). • Export the merged file as a JPEG, keeping the original pixel dimensions of the bases. • Save with any logical default filename you generate; I don’t need a special naming scheme. Once finished I should be able to drop new fabrics or updated bases into their folders, run the script, and walk away while everything processes unattended. Acceptance criteria 1. I can run the script locally (macOS) from terminal or double-click; no GUI required. 2. All combinations are produced without errors and exactly match the base dimensions. 3. Output JPEGs look crisp, with the fabric layer fully replacing the original blank area and no unwanted artefacts. If any questions come up about the overlay coordinates or masking details, let me know and I’ll supply a sample PSD or measurement guide.