public ActionResult PPTXToImage(string Browser)
        {
            Stream        readFile     = new FileStream(ResolveApplicationDataPath(@"Syncfusion Presentation.pptx"), FileMode.Open, FileAccess.Read, FileShare.Read);
            IPresentation presentation = Presentation.Open(readFile);

            presentation.ChartToImageConverter             = new ChartToImageConverter();
            presentation.ChartToImageConverter.ScalingMode = Syncfusion.OfficeChart.ScalingMode.Best;
            ISlide slide = presentation.Slides[0];

            //Converts slide to image
            using (Image image = Image.FromStream(slide.ConvertToImage(Syncfusion.Drawing.ImageFormat.Png)))
            {
                ExportAsImage(image, "PPTXToImage_1.png", ImageFormat.Png, HttpContext.ApplicationInstance.Response);
            }

            return(View());
        }