← Releases
a56dfc7AnySVGrelease

AnySVG v1.0.0: Persistent Offscreen Chromium & Sharp Compression Pipeline

Zero cold-start desktop rasterization, 2MB URL limit bypass, 16,384px GPU texture clamping, and custom privileged protocol

What's New in v1.0.0

AnySVG v1.0.0 is a studio-grade vector rasterizer built to overcome the severe limitations of standard command-line converters (librsvg, ImageMagick, Inkscape CLI) when processing modern web SVGs.

Key Architectural Innovations

  1. Persistent Offscreen Chromium Rasterizer: Eliminates the 2–4s process spawn overhead of headless Puppeteer/Playwright instances by keeping a hidden, pre-warmed BrowserWindow (offscreen: true) active across the entire application lifecycle.

  2. 2MB URL Limit Bypass (Disk-Thunking): Embedding complex 10MB+ Figma exports into data: URLs causes Chromium to crash with ERR_INVALID_URL. AnySVG dynamically generates a temporary disk wrapper and streams it via loadFile(), unlinking immediately after frame capture.

  3. Proportional 16,384px GPU Clamping: High-DPI 4x and 8x exports often exceed the GPU hardware texture allocation ceiling. AnySVG calculates aspect ratios and clamps dimensions proportionally to 16,384px, preventing black-screen render crashes.

  4. Secondary Sharp libvips Compression Pipeline: Raw 32-bit RGBA frame buffers pass through a secondary Sharp pipeline supporting Level 9 Deflate with adaptive row filtering, 8-bit palette quantization, and MozJPEG encoding.

  5. Privileged anysvg:// Protocol: Custom streaming protocol registered with CORS and CSP bypass for instant local SVG canvas rendering.

  6. Universal Desktop Packaging: Configured universal Apple Silicon (arm64) and Intel (x64) DMGs alongside Windows NSIS installers.

AnySVG v1.0.0: Persistent Offscreen Chromium & Sharp Compression Pipeline | Jibril M