سلام . من با کد زیر قصد دارم بعد از تموم شدن کار تغییر اندازه تصویر رو در همون مسیر ذخیره کنم اما بعد که میرم تغییرات رو بررسی کنم میبینم عکس فرقی نکرده .
foreach (string currentPath in picsPath)
{
Image currentImg = Image.FromFile(currentPath);
//تغییر سایز عکس
int newW=500;
int newH=newHeight(currentImg.Width,newW,currentImg.He ight);
Image newimg=currentImg.GetThumbnailImage(newW,newH,null ,IntPtr.Zero);
//ذخیره نهایی عکس
currentImg.Save(currentPath);