STARTING ENGINE
Drop Here
GLORP
Support
BATCH QUEUE
GLORP logo
DRAG & DROP ANYWHERE
Monolith
Lego
WebP

Monolith Mode

The core GLORP algorithm. It analyzes color adjacency to build complex, multi-anchor SVG paths using greedy meshing optimization. Version 4.0.0 improves vertex merging for even cleaner vector outputs.

Lego Mode

Exact 1:1 pixel-to-rect representation. In v4.0.0, we've implemented a performance detection overlay that warns you before generating heavy SVGs, preventing browser lag on massive grids.

Engine Technical Overview

Pixel classification & grid model

Input raster is read into a dense uint32 grid where each cell encodes RGBA. Fully transparent pixels are ignored during meshing. This compact layout enables vectorization algorithms to operate directly on a single numeric matrix for cache- and SIMD-friendly operations.

Edge detection

Using a two-pass discrete edge-finder we construct horizontal and vertical edge maps. Edge types are encoded as directional markers (clockwise / anticlockwise) which the path extractor consumes to produce closed contours without redundant vertices.

Greedy contour meshing

The engine performs greedy scans that consolidate adjacent runs of matching edges into compact path commands (hN / vN). This minimizes SVG node count by merging collinear runs and eliminating one-pixel noise through simple heuristics.

Path extraction & safety guards

Contour traversal is implemented with boundary checks and fallbacks to prevent out-of-bounds access on irregular shapes. The browser engine simulates performance limits and warns before emitting extremely large vectors to protect the UI thread.

Raster export (WebP)

Lossless WebP export path preserves alpha and applies browser-native encoding via canvas.toDataURL('image/webp'). This path is used when the user prefers raster output over vector conversion.

Batch & UI integration

Files are queued in a lightweight drawer and processed sequentially inside a Pyodide worker context. Downloads are triggered per-file; the engine clears its queue after completion and restores scroll behavior reliably across devices.

FAQ

Yes — select several files via the file picker or drag multiple images into the page. They will be queued and processed one by one.
Folder uploads are supported only in the desktop app. On the web we intentionally block folders. Get the desktop version here: Itch.
PNG is recommended (best alpha support). JPEG and other common raster formats work too, but alpha/transparency handling is limited on those.
Conversion time depends on image size, mode and device power. Small sprites finish quickly; large images with many colors may take longer. The UI displays progress notifications and falls back to the safe 'Lego mod' if the mesher detects instability.
Yes. All processing runs in your browser using WebAssembly (Pyodide). No image data is sent to any server.

Contact & Links