Author: Rob Frame | Posted on: 5/15/2010 11:09:17 AM | Views : 358

I am unable to figure out the best way of handling the following scenario.  So far I have just been messing around with the code trying to get all these pieces to fit together.
I have a multiform view, and within one of those views I want an image to be displayed that is created on the fly based on data from a database, though I have hard coded the values to at the moment, I'll add the database piece later.
I load two images as bitmap objects, add the smaller image onto the larger image, then write the new image to a file as a jpeg.  I then load the jpeg into the view controller
//create a new bitmap image Bitmap small1 = new Bitmap(Server.MapPath("~/img/small.png")); Bitmap BaseBitmap = new Bitmap(Server.MapPath("~/img/large.png")); // create a new image from original Bitmap OutputBitmap = new Bitmap(BaseBitmap, 800, 600); // draw the overlay ...

Go to the complete details ...