Re: Transparent Image

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: srVas (it_srini_at_gawab.com)
Date: 09/27/04


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
>



Relevant Pages

  • Re: WWDC
    ... not transparent. ... ultimate in chic is to make everything on the display ... If Apple wants greater market ... When Steve Jobs introduced the iPhone he said that Apple's immediate ...
    (comp.sys.mac.system)
  • Re: How to Hightlight text in CRichEditCtrl
    ... >The text that the user types eventually gets displayed on a bitmap ... Originally all the text will have a transparent ... When the user sets a background color, ... In case of the target text is display on a transparent background, ...
    (microsoft.public.vc.mfc)
  • Transparent splash screen
    ... I remember reading somewhere that transparent forms will not display ... "Monitors set to a color depth of greater than 24-bit can display problems ...
    (microsoft.public.dotnet.languages.vb)
  • Re: working with graphics
    ... Thanks Bilo - that did solve the problem of getting the text to display with ... a transparent background. ... Derrick ... > If you are using a label for text I can help you. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Why do my watermarks appear broken in Word?
    ... The Visio problem is off topic for this forum, ... Update the display driver and or reduce its hardware ... Transparent watermarks appear broken and are displayed above the text, ...
    (microsoft.public.word.docmanagement)