Developer builds browser-based bulk image converter to avoid server uploads
A developer created BatchSet, a client-side bulk image conversion tool, after finding existing online converters required server uploads, imposed watermarks, or capped free usage at low image limits. The tool was originally motivated by a need to convert 400 product photos from JPG to WebP for a Shopify store without exposing files to third-party servers. BatchSet runs entirely in the browser using Web Workers, OffscreenCanvas, and the createImageBitmap API to decode and encode images without blocking the user interface. It parallelizes processing by spawning one worker per available CPU core, then packages all converted files into a ZIP using JSZip for a single download. The developer notes that RAM, not CPU, is the primary bottleneck in this kind of client-side pipeline.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in