JPG, PNG and WEBP: choose the right format
Match file format to content and compatibility.
PixelTracing editorial guide · Updated 5 December 2026

Use the synthetic sample to follow this guide without personal files.
Preview practice filePhotographs versus graphics
JPG encodes photographic detail efficiently but cannot retain an alpha channel. PNG is useful for crisp text, flat illustrations and transparent graphics because it is lossless. WEBP supports lossy and lossless encoding and transparency, but check compatibility with your destination.
Try an actual transparency test
Download the transparent object sample from Add Background. Convert a copy to PNG and another to JPG. Place each result over a different background. The JPG should have an opaque backdrop; the PNG should retain transparent pixels.
Do not confuse the name with the encoding
Changing .png to .jpg in the file manager does not change the file. Export through a converter, then open the actual result. Animated or special formats may only decode a first frame; keep the original.
Test a logo, a photo and a transparent graphic
Make three test copies: the transparent object sample, the landscape photo and a small graphic with sharp lettering. Convert each to JPG, PNG and WEBP using unchanged dimensions. Open the files in the intended destination, not just the editing tool, and compare size and appearance. For a website, WEBP may be useful when the receiving system supports it; for a transparent master, PNG is often a convenient option. For a photograph intended for an older application, JPG may be a more compatible delivery copy.
Review and troubleshoot
Put the transparent output on a dark background and on white. Check whether edges retain alpha or acquire an unwanted solid fill. For a logo, zoom in on text edges to look for halos caused by lossy encoding. Do not use a smaller file as the master if you intend to edit the design again.
Frequently asked question
Can I convert a JPG to PNG to recover its lost detail?
No. PNG can preserve the pixels it receives without further lossy compression, but it cannot undo previous JPEG artifacts.