Free Support Forum -

How to Export each slide as high quality png/jpg/gif


Is there any way to save each slide as high quality png/jpg/gif based on
Would you please show me the code how it work?



Using Aspose.Slides API, you can generate the slide thumbnail having custom dimensions or scaling factor. This way, you can get a slide image as per desired quality. Please visit this documentation link for your convenience.

Thanks for your suggestion.
I used “PPT.Slides(0).GetThumbnail(100, 100).Save(AppPath & “\Tmp.jpg”)”, however, it got no result.
Would you please me show me the code how it work to get the thumbnail image for each slide?


The above sample code is syntax wise correct but logically wrong. You have used the scaling factor 100, which is huge. Scaling factor of 1 means that you will have the thumbnail equal to actual slide dimensions in PowerPoint. You need to use the scaling factor 3, 4 or 5 and then share with us.

	public static void TestThumbnailIssue()
		String path = @"C:\Aspose Data\ImageError\";
		var billboardBytes = File.ReadAllBytes(path + "ImageError.pptx");

		// Convert PowerPoint to images and load the image slider.

		MemoryStream stream = new MemoryStream(billboardBytes);
		//stream.Position = 0;
		Presentation powerPoint = new Presentation(stream);

		for (int i = 0; i < powerPoint.Slides.Count; i++)

			var bmp=powerPoint.Slides[i].GetThumbnail(3.0f, 3.0f);
			bmp.Save(path + "Thumbnail_"+(i+1)+".jpg", System.Drawing.Imaging.ImageFormat.Jpeg);