Compressly: Browser-Based Image and PDF Toolkit With No Server Uploads
A developer has built Compressly, a free browser-based toolkit that processes images and PDFs entirely on the user's device without uploading files to any server. The tool offers image compression, resizing, format conversion, background removal, upscaling, and PDF and Word document utilities. Compression targets specific file sizes using a binary search algorithm over JPEG and WebP quality values, while PNG compression uses palette quantisation similar to tools like TinyPNG. Background removal is powered by an AI segmentation model running locally via Transformers.js, using the Apache-2.0-licensed ORMBG model to avoid commercial-use restrictions. PDF generation is handled by custom browser-side code that writes PDF 1.4 format directly, with unsupported scripts rendered as embedded images to ensure correct display.
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