Search code examples
iconstransparentjpeg

How to remove or set transparent background in icon (.jpg)


I have icon for my application which is picture in jpg format. In the picture is logo of my application which has oval shape. I want to remove white background from this picture. I have irfan view. Or maybe is the way to set transparent background.

Thanks


Solution

  • JPEG doesn't support transparency (at least not in the variant that's widely used and supported). You need to use either PNG with an alpha channel, or the Windows .ICO format, which essentially is a DIB with either a colour key, or an alpha channel. Or use SVG, which is a vector format, and supports transparent background.