473,396 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Image objects

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

May 18 '07 #1
2 1874
Graeme,

I think that this article might help you:

http://www.ftponline.com/vsm/2003_06...ktopdeveloper/
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<gw********@gmail.comwrote in message
news:11*********************@w5g2000hsg.googlegrou ps.com...
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

May 18 '07 #2
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 [.NET/C# MVP]" wrote:
Graeme,

I think that this article might help you:

http://www.ftponline.com/vsm/2003_06...ktopdeveloper/
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<gw********@gmail.comwrote in message
news:11*********************@w5g2000hsg.googlegrou ps.com...
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


May 18 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Leonardo Spina | last post by:
I get an error like "error while generating XML document". It looks like SOAP doesn't love the way the object is getting serialized to XML. What can I do? Thanx!
68
by: Nak | last post by:
Hi there, This might sound like a silly question but, technically could an image object be used for any image format? For example if I were to make plugins for my application, could they be...
2
by: active | last post by:
Because of an example I followed I've been instantiating Image objects. Now I notice that the documentation says the Image class is an abstract base class. Things seem to be working! Is the...
2
by: Fir5tSight | last post by:
Hi, I'm sorry this may not be the right place for this topic. However, I don't know where else I should get help. Hopefully some people here can give me an answer on the following topic: How...
2
by: guywmustang | last post by:
So, basically this is the problem. I have this... <div id="mainframe"> <img src="image.jpg" id="image"> </div> Then when I try to in a function say... function checkImage()
1
by: senort01 | last post by:
Hi, I am trying to read an Access database field that contains an OLE image. I simply want to read in the image, and then be able to use the various filters available in WIA 2. What I can't...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.