I have downloaded the latest version of Aspose.Imaging DLL, but still I am having some issues. I have attached input and output files.
My requirment is to take the input image file (which can be of any format) resize it to desired dimensions and convert it to JPG.
The code I am using is..
using (Aspose.Imaging.Image ImageA = Aspose.Imaging.Image.Load(ImgStandard))
int NewWidthA = Convert.ToInt32(EssentialClass.GetSetting("Maximum Property Photo Width"));
ImageA.Resize(NewWidthA, ImageA.Height * NewWidthA / ImageA.Width, Aspose.Imaging.ResizeType.NearestNeighbourResample);
ImageA.Save(PathToFile + "\\" + DocID + ".jpg", new Aspose.Imaging.SaveOptions.JpegSaveOptions());