How to convert SVG to Image palette JSON
Before you start
Paste SVG markup or drop an .svg file. Scripts and event-handler attributes are removed.
Accepted: .svg · image/svg+xml- Paste valid SVG content, choose files, or drag them onto the drop zone.
- Confirm the detected format and adjust the available settings. Mixed-format batches are flagged before conversion.
- Select “Convert on this device.” Produces JSON with HEX/RGB values, sampled pixel counts, percentages, and transparency coverage.
How this converter behaves
The browser decodes the image into pixels and re-encodes those pixels in the destination format.
What happens to your data?
The conversion engine runs in this browser tab. OmniCastConverter has no upload API and never sends your content, file name, or converted result to a server.
Fidelity and limitations
This route is classified as structural. The converter preserves meaning and structure supported by both formats.
- Colors are quantized into bounded RGB buckets and sampled on very large images; this is a practical dominant-color palette, not a color-managed scientific analysis.
Try a valid example
The “Use example” action in the workbench loads this exact input. Produces previewable Image palette JSON text and a correctly named download.
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="8" fill="#2368ff"/></svg>