i am trying to watermark my image with logo....for that i am using this function...but i get no watermarked image...
can you tell me what is wrong with this piece of code...
public Bitmap AddWatermark(Bitmap bImg, Bitmap logo)
Bitmap imgPhoto = bImg;
int phWidth = imgPhoto.Width;
int phHeight = imgPhoto.Height;
//create a Bitmap the Size of the original photograph
Bitmap bmPhoto = new Bitmap(phWidth, phHeight, PixelFormat.Format24bppRgb);
//load the Bitmap into a Graphics object
Graphics grPhoto = Graphics.FromImage(bmPhoto);
//create a image object containing the watermark
System.Drawing.Image imgWatermark = logo;
View Complete Post