Image objects

  • Thread starter Thread starter gwoodhouse
  • Start date Start date
G

gwoodhouse

Hello everyone,

IM nearing the end of a peice of work right now - i have everything
working bar one tiny line.

What i have is 2 Bitmap images that are the same size.

What i need is 1 Bitmap image which is the 2 images layered ontop of
one another (One of them is mostly transparent).

I have tried the command :
Canvas = Graphics.FromImage(memoryBitmap);
canvas.DrawImage(memoryBitmap2, 0,0);

But this seems to randomly flicker an outline of the transparent image
but thats about all.

Does anyone know how to write one image to another?

Graeme
 
Nicholas,

Alphabending is the future of UI displays. Using this techinique on Grids
(Infragistics controls) renders a very smooth and pleasent view of the
objects.

Excellent article!
--
Ivan A Loreto
Application Analyst II
Loma Linda University Medical Center
Transplantation Institute


Nicholas Paldino said:
Graeme,

I think that this article might help you:

http://www.ftponline.com/vsm/2003_06/magazine/columns/desktopdeveloper/


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hello everyone,

IM nearing the end of a peice of work right now - i have everything
working bar one tiny line.

What i have is 2 Bitmap images that are the same size.

What i need is 1 Bitmap image which is the 2 images layered ontop of
one another (One of them is mostly transparent).

I have tried the command :
Canvas = Graphics.FromImage(memoryBitmap);
canvas.DrawImage(memoryBitmap2, 0,0);

But this seems to randomly flicker an outline of the transparent image
but thats about all.

Does anyone know how to write one image to another?

Graeme
 
Back
Top