Monday, July 27, 2009

How to add an image to an image using c#?

how i have to add a new picture to the existing picture using c#

How to add an image to an image using c#?
Your Question is too short to give the correct answer.What do you mean by add here? they are not numbers remember?


Do you want :


make a bigger picture from 1? Width wise or lengthwise ?


Wrap one over the other ?





based on your requirement the logic will follow.
Reply:c# has an Image class that provides heaps of good functionality. you need to create a new Image object. once you have done that you can add other images dynamically and then save that image object as a specified format.





you will want to check out the msdn documentation for the specific syntax and commands since icant recall it off the top of my head, but thats a guide anyway.





Image myImage = new Image();





then something like


myImage.addLayer (or myImage.add) (...you image file here...)





or maybe it is Image myImage = new Image(imageFilename);





somethin glike that anyway. its been a while

sound cards

No comments:

Post a Comment