Aspose.Slides Presentation to JPEG Converter for .NET
Aspose.Slides Presentation to JPEG Converter for .NET allows you to export each slide in a presentation to a high‑quality JPEG image. This is useful for generating thumbnails, publishing slide content online, or embedding slides into other media formats. fileciteturn15file0
Installation and Setup
- Install the NuGet package
Aspose.Slides.NET - Apply licensing to avoid watermarks:
https://docs.aspose.net/slides/getting-started/metered-licensing/ - Platform requirements:
https://docs.aspose.net/slides/getting-started/
Supported on Windows, Linux, macOS with .NET 6+, .NET Framework 4+, Mono
Convert Presentation to JPEG Images
The Presentation to JPEG Converter for .NET plugin allows you to convert Microsoft PowerPoint and OpenDocument presentations into a set of JPEG images.
Usage examples
// Converts the input presentation to a set of JPEG images.
using (var pres = new Presentation("pres.pptx"))
Aspose.Slides.LowCode.Convert.ToJpeg(pres, "presImage.jpeg");// Converts the input presentation to a set of JPEG images with a given image size.
using (var pres = new Presentation("pres.ppt"))
Aspose.Slides.LowCode.Convert.ToJpeg(pres, "presImage.jpeg", new Size(720, 540));// Converts the input presentation to a set of scaled JPEG images with notes.
using (var pres = new Presentation("pres.pptx"))
{
var options = new RenderingOptions()
{
SlidesLayoutOptions = new NotesCommentsLayoutingOptions() { NotesPosition = NotesPositions.BottomTruncated }
};
Aspose.Slides.LowCode.Convert.ToJpeg(pres, "presNotesImage.jpeg", 2f, options);
}Features
- Export each slide as an individual image
- Control resolution, scaling, and JPEG quality
- Include notes and comments where required
- Automated server‑side image generation
- Works without Microsoft Office
Common Use Cases
- Thumbnail generation for UIs
- Slide images in documentation and e‑learning
- Web previews and search indexing
- Digital asset workflows in enterprise apps
FAQ
Are animations preserved in JPEG?
No — static image export only.
Does JPEG export support encrypted presentations?
Yes — when a valid password is supplied.
Can image DPI be increased for print quality?
Yes — scaling and resolution can be customized.