Drag & drop PDFs or image files here
or click to browse from files
Supports: .pdf, .jpg, .jpeg, .png, .webp, .bmp, .tiff
⚙️ Under the Hood (How it Works)
▼LocalPress runs entirely inside your browser's local sandbox. No files, document data, or metadata are ever uploaded to a remote server. You can verify this by checking your browser's Network tab (F12) or inspecting the open-source code on GitHub.
🖼️ Image Compression
Dropped images are loaded into an offscreen HTML5 <canvas>. To protect memory on low-end devices, images larger than 2048px are resampled down. The engine then executes a quality binary search using canvas.toBlob(..., 'image/webp') to maximize compression ratio while preserving excellent visual detail, falling back to JPEG if WebP is unsupported.
📄 PDF Compression
Using Mozilla's pdf.js engine, the PDF document is rendered page-by-page onto high-DPI canvases at a crisp 130 DPI (perfect for screen reading). The rasterized canvases are converted to compressed JPEGs and compiled into a new PDF stream using pdf-lib, shrinking heavy scanned documents directly on your device.