Add an SVG logo or drawing and get a JPG for the form or site that won't take an SVG, its empty background filled in a color you choose.
FluffyShieldProtected workspace
From
To
Loading the tool…
The tool didn't load. Reload the page, or check whether an extension or network filter blocks .
Free · No upload · No sign-up · No usage quotas
How it works
The SVG is checked in your browser
→Its shapes are drawn as pixels
→The pixels are saved as a JPG
What it does
Lighter than the drawing
A detailed drawing can weigh more as shapes than as a JPG. Our milkweed's SVG was 221.5 KB; its JPG, 161.2 KB.
Limits An SVG holding a script or a web page, or pointing at files kept elsewhere, is refused, and an animated one is saved as its first moment.
What does the white fill do to the lines of an SVG drawing?
It doesn't stay in the background. Some of it ends up along the edge of every line.
FluffyBench · 4 min read · Measured on a traced line drawing
What happens to a drawing's lines when it becomes pixels?
When a form or site wants a JPG, a logo or drawing saved as an SVG won't do. To make one, your browser first paints the drawing into pixels, square by square. Most pixels are easy: wholly inside a line, or wholly outside it. The ones a line's edge passes through are only partly covered, so the browser makes each of them partly see-through, as much as the line misses it. Those in-between squares are how a line that runs across the grid at a slant gets drawn without jagged steps.
A fine line drawing is full of them. Our test file is an old book illustration of a milkweed, traced into black shapes with nothing behind them. Drawn at 720 × 960 pixels, it has 72,245 solid black ones and 48,087 on an edge, about two edge pixels for every three solid. The other 570,868 are empty.
Where does the white go?
A JPG has no see-through pixels, so each one gets a solid color. The empty ones take the fill, white unless you pick another, and the edge pixels take part of it too, which turns the rim of every line into a band of grays.
Here's a patch of the milkweed's leaves, enlarged until each pixel is a square. Before the fill, it's laid on blue, a color the drawing doesn't have, so the see-through squares show.
Before the fill
In the JPG
Every gray square started as an edge pixel, so a different fill would tint all of them. How we measured · Photo: Britton, N.L., and A. Brown, Public domain, U.S. work published before January 1, 1931; Public Domain Mark 1.0, via Wikimedia Commons.