Last post Jun 17, 2008 04:56 PM by sul125
Jun 17, 2008 08:33 AM|sul125|LINK
hi i use thise code rezigin images on my application.
Is it a good way for making thumbnail or?
System.Drawing.Image myimg = System.Drawing.Image.FromFile(uploadpath);
myimg.Save(thumbPath + filename, myimg.RawFormat);
Jun 17, 2008 09:07 AM|ca8msm|LINK
Yes that is fine for creating a thumnailed image (although you may want to just save the thumbnail directly rather than assigning it back to the original object). Why do you ask? Are you having performance problems? Or are you not getting what you expected?
Website Design Darlington - http://lessthandot.com -
Jun 17, 2008 04:56 PM|sul125|LINK
well thanks for reply
I am new to programming and c#
It works, i just asked to see if i am doing it the right way.