as a matter of fact I'm writing an image processing app by c#.net.
here I make an image based on the other image .
it means that "I have an image and I make some changes on it and save it again" but the problem is "the thumbnail of image doesn't change" . very simple code like this :
string strPath="c:\\bb.jpg",strMainPicPath="c:\\aa.jpg" ;
imgBase = Image.FromFile(strMainPicPath);
SolidBrush brush = new SolidBrush(cWhite);
Font fntB = new Font("tahoma", 8, FontStyle.Bold);
System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(imgBase);
g.DrawString("Test String", fntB, brush, 100, 100);
problem is just thumbnail of image .
Edited 4-Aug-12 4:32am
This is pretty bad code. Always use the using construct to force things to be disposed. As others have said, if you change your image, you also need to generate a new thumbnail, that seems obvious.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)