Clean up the surface on WaterMark of an Image?

I would look at how you are creating the bitmap.

I would look at how you are creating the bitmap. Bitmap bmp = (Bitmap)Bitmap. FromFile(imageDir); does this line need to be in there everytime, i.

E is imagedir the same all the time? Do you dispose of the generated bitmap after creating it? What happens in this function: DrawWatermark(ref waterbmp, ref bmp, LeftIndex, TopIndex, ALPHA); You seem to then save the bmp file but not dispose of it?

I have seen some strange behaviour from GDI+ so I would start here.

Have a look to the code, I added the method of DrawWatermark – blgnklc Aug 11 '10 at 8:50 catch (Exception ex) { LogNotificationState("K", 0, -1, 2, false, ex, tableCode); } bmp.Dispose(); bmp = null; it does not work! – blgnklc Aug 11 '10 at 8:53 @I found the answer, I put the MemoryStream ms = new MemoryStream(); in the loop so now it works quite well! Thanks – blgnklc Aug 11 '10 at 9:04.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions