Re: Transparent Image
From: srVas (it_srini_at_gawab.com)
Date: 09/27/04
- Next message: srVas: "Re: HDC to HDIB"
- Previous message: Dominique de LAPASSE: "CTreeCtrl - pNMTreeView->itemNew.lParam ??????"
- In reply to: Andy Mortimer [MS]: "Re: Transparent Image"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 15:01:01 +0530
Hi,
I want to provide one application related to bitmap. I need to
open one bitmap image and i need to display it in exsisting display.
so as if i opened i need to replace the background of current
screen color into the background of opening image.Suppose current screen
color is Black then i replace all black color in the image current opening
image in to transparent. And one more thing and i need to display original
transparent color of the image. most cases when i opened in hbitmap the
transparent color of the original image is replace with white color. so as i
need to replace that white color as transparent while diplaying black as
transparent. Sorry for too much confusing
simply
screen(Black color as background)
image(transparent color is opened as white inside hbitmap)
i need to transparent both black and white of current image to tranparent
And atlast. I need to revert back the changes in to file in dib format
I need to take the image from dc. and i have to save it in dib format.
Thank U for ur help
Srii
"Andy Mortimer [MS]" <andmort@online.microsoft.com> wrote in message
news:Uk76J5hoEHA.1520@cpmsftngxa06.phx.gbl...
> Hi,
> I'm afraid you are going to have to provide more info. Can you describe
> what it is you are trying to do? Are you trying to scrape the bitmap from
> an existin window, then do something with it. Please provide a fuller
> description.
>
> Then, please attach, in a small sample all the code you have so that I can
> build and reproduce the problem.
>
> Thank you.
>
> Andy
>
- Next message: srVas: "Re: HDC to HDIB"
- Previous message: Dominique de LAPASSE: "CTreeCtrl - pNMTreeView->itemNew.lParam ??????"
- In reply to: Andy Mortimer [MS]: "Re: Transparent Image"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|