Menu

How I built a browser-local batch image workflow with Canvas and ZIP
📰

How I built a browser-local batch image workflow with Canvas and ZIP

DEV Community·li fan·about 3 hours ago
#bxEmUYlp
#dev#browser#file#workflow#article
Reading 0:00
15s threshold

Preparing product images is rarely one operation. You may need to fit every image into the same canvas, choose a background color, convert formats, rename the files, and download the set. Repeating those steps for each file is tedious.

I built a batch product image workflow for PNGDock to put those operations in one browser session. This post covers the implementation choices and the limits I had to make explicit. The workflow is free to try without an account. Its image processing and ZIP creation happen in the browser; the selected images are not uploaded for this workflow.

Start with limits, not the processing loop

The tool accepts PNG, JPEG, and WebP files. At present, it caps a batch at 20 files, 12 MB per file, 80 MB of source files in total, and 32 megapixels per image. It also caps the combined output size for a ZIP at 150 MB.

Those limits are part of the design.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.