Method
How this tool works
The browser decodes the selected image, redraws it to a canvas and encodes that canvas in the chosen output format. Transparent pixels are filled with your selected background when converting to JPEG.
Convert a transparent PNG logo to WebP for a smaller web asset, or use a white background when exporting the same logo as JPEG.