[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 128
  • Last Modified:

Image background when seen in a browser

I have a bmp file I can convert to gif or jpg or anything else if needed.
The object represented by the image is round, and is on a white background, because the image is rectangular.
Is there a way to make this background 'transparent' ?
I don't want the background to be visible in an Internet browser, and this in whatever HTML page it is included.
Does this make sense ?
1 Solution
Eric AKA NetminderCommented:
Convert it to a gif file. Most photoshop type programs will let you set the background color, and then make that color transparent (useful when you want to put a white image on a dark background).

MS' Image Composer, Adobe Photoshop, and Corel's Draw/Photo programs are all pretty good.
You need to save it as a Gif89a. Gif87a will not provide for transparency. Under photoshop you will have to export it rather than save it as..When you export it will ask you to pick a transparent color with the eyedropper. Just select the color you want to be transparent and continue. As ericpete mentioned, there are other programs that will allow you to save as Gif89a with transparency.

Of course theres also the other option of saving it as a PNG file with an alpha channel which provides for fuzzy edges and varying degrees of transparency. Unfortunately NS and IE have been slow to pick up this standard. Photoshop will save as PNG as well.

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now