Convert image to PPT in C#

Powerful cross-platform .NET API for converting image to PPT using C# code on NET Framework, .NET Core, Windows Azure, Mono or Xamarin Platforms

Convert image to PPT using Aspose.Slides

Aspose.Slides for .NET is a powerful .NET library used to create, convert, and manipulate PowerPoint presentations, PDFs, HTML docs, and other files. When you convert image to PPT, you are essentially creating a PowerPoint presentation that contains slides based on those images.

Convert image to PPT in C#

Using Aspose.Slides for .NET , you can convert image to PowerPoint presentation with just a few lines of code:

C# code for converting image to PPT

using (Presentation pres = new Presentation())
    IPPImage image = pres.Images.AddImage(File.ReadAllBytes("image.jpg"));
    pres.Slides[0].Shapes.AddPictureFrame(ShapeType.Rectangle, 0, 0, 720, 540, image);
    pres.Save("Presentation.ppt", SaveFormat.Ppt);

How to convert image to PPT in C#

  1. Install Aspose.Slides for .NET. See Installation .

  2. Add the library as a reference in your project.

  3. Create an instance of the Presentation class.

  4. Load the image you want to convert to PPT.

  5. Save the resulting file as a PPT presentation.

Free Online Converter

How to Convert PPT to HTML in Python

Other Supported PowerPoint Conversions

You can also convert files in other formats to PowerPoint