How to flatten a transparent PNG to JPEG on a Mac
Flattening a transparent PNG to JPEG means filling in the see-through parts with a solid color, because JPEG has no way to store transparency. The quick way is to drag the PNG onto Manatee, choose Convert, and pick JPEG; a new .jpg lands beside the original, with the transparent areas filled and the file usually much smaller. The one thing to know first is which color those areas become, and this post walks through it.
Why a PNG has transparency and a JPEG cannot
A PNG can store an alpha channel: an extra layer of data that records, for every pixel, how see-through it is. That is how a logo can have a transparent background, or a cut-out product photo can float on any page. The transparency is real information saved inside the file.
JPEG has no alpha channel at all. It was designed for photographs, where every pixel is fully opaque, so the format simply has nowhere to record “this part is see-through.” When you convert a PNG that has transparent regions into a JPEG, that information cannot come along. Something has to go where the transparency was, and that something is a solid color. This is what flattening means: the image is composited onto a background so that every pixel becomes opaque, and only then is it saved as a JPEG.
So flattening is not a bug or a quality problem. It is the unavoidable result of moving from a format that understands transparency to one that does not.
What color the transparent areas become
When transparency is flattened, the see-through pixels are painted with a background fill, and on most Mac tools that fill is white. Preview, for instance, fills transparency with white when it exports a PNG to JPEG. Some tools use black instead. The visible result depends on your image: a logo drawn in dark ink looks clean on a white fill, while white text that used to sit on a transparent background can vanish against white and would need a dark fill to stay readable.
If you need a specific background color, the reliable approach is to decide it before the conversion rather than hope the converter guesses right. Open the PNG in an image editor, place a filled layer of the color you want behind it, flatten those layers, and then convert the result to JPEG. Once the background is baked into the pixels, any converter will keep it, because at that point there is no transparency left to interpret. For the common case, though, where the transparent area is just padding around a photo or a dark graphic, the default fill is fine and no editing is needed.
The other trade-off: JPEG is lossy
Transparency is not the only thing that changes. PNG is a lossless format, so it stores every pixel exactly, which is why it is so good for screenshots, logos, and anything with sharp edges or flat color. JPEG is lossy: it compresses by discarding detail the eye is less likely to notice, which is how it makes photographs so much smaller.
For a photograph, that trade is usually invisible and very worthwhile, since a JPEG can be a fraction of the PNG’s size. For graphics with hard edges, crisp text, or large flat areas, JPEG compression can leave faint halos or blocky fuzz right where the PNG was pristine. If your PNG is a photo, converting to JPEG is a clear win in file size for no visible loss. If it is a logo or a diagram and you only wanted to drop the transparency, keep in mind that you are also accepting some softening, and you may prefer to flatten onto a background and stay in PNG instead.
How to flatten and convert on a Mac
The direct route with Manatee:
- Open Manatee and choose Convert, or drag the PNG onto the Manatee icon in the menu bar.
- Pick JPEG as the target.
- Drop the file in, or a whole folder of PNGs at once. Each appears in the job list with its progress.
- A new .jpg is written next to the original. The PNG, with its transparency intact, is never changed.
Because Manatee always writes a new copy, you can convert freely and still have the original PNG to fall back on if the fill color is not what you wanted. Everything runs on your Mac, with no upload and no account.
The built-in option is Preview. Open the PNG, choose File then Export, set the format to JPEG, and save. Preview flattens transparency to white and lets you set a quality level, which is genuinely all you need for one image. Its limit shows up with volume: Preview exports one file at a time, so a folder of transparent PNGs turns into a lot of repeated Export dialogs, and you cannot change the white fill. When you have more than a couple of files, or you want them all handled the same way, dropping the folder into Manatee is the calmer path.
Questions
Can I keep the transparency and still make the file smaller?
Not as a JPEG, because JPEG cannot store transparency at all. If keeping the see-through background matters, stay in PNG and reduce its size another way, or move to a format that supports both transparency and strong compression. Converting to JPEG always flattens.
My white text disappeared after converting. What happened?
The transparent background was flattened to white, and white text on a white fill is invisible. Before converting, place the image on a dark background in an editor and flatten it there, so the text has something to stand against; then convert the baked result to JPEG.
Is flattening reversible?
No. Once the transparency is filled with a solid color and saved as a lossy JPEG, both the alpha information and some fine detail are gone for good. This is why Manatee writes the JPEG as a separate file and leaves the original PNG untouched, so the version with transparency is always still there.
Should I use JPEG or just flatten onto a background in PNG?
If the image is a photograph, JPEG is the better target: much smaller with no visible loss. If it is a logo, screenshot, or diagram and you only wanted to remove transparency, flattening onto a background while staying in PNG keeps the edges crisp and avoids JPEG’s compression fuzz.