transparent background on a .bmp

J
Posted By
Jay12
Jan 30, 2004
Views
1391
Replies
7
Status
Closed
so I am trying to save a image as a .bmp so it can go on the desktop as an icon. However when i save it as a .bmp it fills in the transparent area instead of keeping it transparent so that i don’t end up getting nice clean round edges. So my question is how to i get a transparent background when saving as a .bmp? Thanks ahead of time.

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

MV
Mathias_Vejerslev
Jan 30, 2004
Jay,

You do know that converting a BMP to ICO via a renaming is a very dirty trick, yes? A true .ICO contains a library of different sizes as well as a defined transparency color. BMP does not, and will fail big time if you try to distribute as an .ICO.

Instead, use a ICO program such as Microangelo.

Mathias
J
Jay12
Jan 30, 2004
I have used C++ that can save .ICO files…but how to i do it so I can make the background transparent?
J
Jay12
Jan 30, 2004
does anyone know how to use photoshop or C++ to make a transparent background on a bitmap or ico file…can u do it with a bitmap and how…and can u do it with a ico file and how…i would like to know how to use both…thanks
RH
r_harvey
Jan 30, 2004
Use the resource editor in your C++ programming environment. Import the BMP (you may have to use MS Paintbrush to open the BMP, and import via the Clipboard), erase the background, maybe add some more sizes or color depths, and save your newly-beautiful ICO.
J
Jay12
Jan 30, 2004
harvey when doing this "resource editor" in my C++ when making a new file u can choose bitmap….icon….and a few editors what editor should i use …sorry i am kinda dumb at C++ i have only used it breifly…thanks again this transparency thing is driving me nuts!
RH
r_harvey
Jan 30, 2004
If you’re using MSVC, start a new empty project, add a new resource, choose ICON, and open it in the editor. You can import bitmaps of regular icon sizes. Use the resource editor to paint the pixels you want to be blank–they will appear in a reserved color. In the resource editor, you can add new 16×16, 32×32, and other sizes, in multiple color depths; the OS will select the most appropriate for the display driver.

If you’re creating ICO for use on the Internet, keep it simple. Have a look at a simple Internet icon < http://ourworld.compuserve.com/homepages/r_harvey/asciicat.i co> as a starting point (you can’t use that one!). Then put a tag on your HTML page something like this:

<LINK REL="SHORTCUT ICON" TYPE="image/x-icon" href="my.ico">
CC
Chris_Cox
Feb 4, 2004
Technically, BMP doesn’t support transparency.

But it can support a single alpha channel.

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections