Add an .xpm icon and get a JPG for a form or site that takes only JPGs, its None pixels filled with a color you pick.
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 XPM's codes are looked up in its legend
→None pixels take the fill color you set
→Everything is saved as a JPG
What it does
Color names, the X11 way
A legend can name a color instead of giving its code. FluffyBench reads those names as X11 does, so gray comes out as 190, 190, 190 and green as 0, 255, 0.
Limits An XPM cut off partway stops with an error instead of giving half a picture.
What color does “None” become in a JPG?
The one you set under Transparent areas, white unless you pick another, and it meets the picture at a hard step, not a blend.
FluffyBench · 3 min read · Measured on an XPM of the Earth
Where does the fill meet the picture?
A JPG has to put a color in every pixel, and None names no color, so FluffyBench paints each None pixel with the color under Transparent areas in Settings. In our sample icon of the Earth that was 2,474 pixels, the whole space around the planet. With the default white they came out at 254, 254, 254 in red, green and blue, on average.
The JPG of our sample, whole and at its top-left edge.
The JPG
Its edge, close up
The white meets the planet in a hard step, with faint tints from the JPG's rounding on both sides of it. How we measured · Photo: NASA, Public domain, NASA-created image, via Wikimedia Commons.
The hard step comes from the XPM, where every pixel is either None or one of the colors in its legend, so there's no half-clear rim for the white to blend into.
Choosing the fill and saving the JPG
Bring in the .xpm with Choose images.
Settings sit beside the converter on a computer; on a phone the gear opens them.
Pick the color for the clear parts under Transparent areas, or leave it white.
Then press Convert 1 to JPG.
The finished card's arrow downloads the JPG.
What if the background changes from place to place?
The icon will sit on more than one color, or on a picture.