ON-PREMISES LIBRARY · NO MICROSOFT OFFICE REQUIRED
Read, write and render PowerPoint files from your own code.
Aspose.Slides creates, edits, converts and renders PowerPoint and OpenDocument presentations in .NET, Java, Python, C++, Node.js, Android and more. It runs in your process, on Windows, Linux or macOS, in a container or on a host, with no Office install.
- .NET
dotnet add package Aspose.Slides.NET- Python
pip install aspose-slides- Node.js
npm install aspose.slides.via.java- Java
mvn dependency:get -DremoteRepositories=https://releases.aspose.com/java/repo/ -Dartifact=com.aspose:aspose-slides:26.9:jar:jdk16
Windows, Linux and macOS, on a host or in a container, wherever the .NET, Java or Python runtime the build targets is supported. No Microsoft Office installation on the machine that runs it.
Prefer not to host it yourself? The same work is available as a hosted REST API through Aspose.Slides Cloud.
187 / 80
Shape types and chart types the API creates, each a real object that PowerPoint still recognises and lets a person edit after the file is written.
12 → 12
Presentation formats read and written, including the pre-2007 binary
.pptcontainer and OpenDocument.odp, plus 9 further export targets.Monthly
A new version of Aspose.Slides for .NET every month since December 2020. The NuGet version list dates each one.
0
Microsoft Office installs, GDI dependencies and X displays needed. A small Linux container is enough.
Pick your platform
All products, side by sideSame object model everywhere. The differences that matter are the runtime and what each build adds on top. The last five rows are not libraries you write code against — two are the .NET package under another name, three are integrations for an existing server product.
What people use it for
Fifteen jobs, one page each. Twelve of them link to per-platform pages, each leading to code samples. Splitting, comparison and signatures offer a free online app instead.
Build a presentation from content you already have
Most of the presentation work people automate runs into a deck rather than out of one: pulling HTML, images, PDF pages or database rows onto slides. Aspose.Slides reads HTML markup straight into a text frame, keeping the headings, bold runs and lists it finds.
That is the whole program: no PowerPoint, no headless Office, no template file to keep in step. The same call takes markup a reporting job or a content system already produces, so an existing HTML report becomes a deck on a schedule instead of by hand.
import aspose.slides as slides
html = "<h1>Quarterly review</h1><p>Revenue up <b>18%</b> on the quarter.</p>"
with slides.Presentation() as presentation:
shape = presentation.slides[0].shapes.add_auto_shape(
slides.ShapeType.RECTANGLE, 0, 0, 720, 540)
shape.fill_format.fill_type = slides.FillType.SOLID
shape.fill_format.solid_fill_color.scheme_color = slides.SchemeColor.TEXT2
shape.line_format.fill_format.fill_type = slides.FillType.NO_FILL
frame = shape.text_frame
frame.paragraphs.clear()
frame.paragraphs.add_from_html(html)
for paragraph in frame.paragraphs:
paragraph.paragraph_format.alignment = slides.TextAlignment.CENTER
presentation.save("quarterly.pptx", slides.export.SaveFormat.PPTX)
What goes in, what comes out
Read in only
Other content read inplaced into a presentation rather than opened as one
- HTML
- raster image
Aspose.Slides
12 formats read and written — the presentation formats this library opens and saves.
- FODP
- ODP
- OTP
- POT
- POTM
- POTX
- PPS
- PPSM
- PPSX
- PPT
- PPTM
- PPTX
Written out only
Written onlyexport targets, not presentation files
- GIF
- HTML
- HTML5
- MD
- SWF
- TIFF
- XML
- XPS
Slide imagesrendered from a slide
- BMP
- EMF
- GIF
- JPEG
- PNG
- SVG
- TIFF
The conversions people come here for
Every conversion, by platformEvery row below has its own page with a runnable sample: eleven conversions and one merge, the ones readers of this site open most, with a row per language where more than one is popular. Eight platforms list every conversion they support on their own conversion page.
Capabilities, one line each
Everything here is supported. Where a grey note follows, the capability is delivered through a separate product or comes with a stated limit. Aspose.Slides also builds what a deck is made of, with a Python via .NET guide for each: slide masters and layouts · tables · speaker notes · SmartArt · animation.
- ✓Reads OOXML presentations
- ✓Writes .pptx
- ✓Reads legacy binary PowerPoint
- ✓Writes legacy binary .ppt
- ✓Reads OpenDocument presentations
- ✓Writes .odp
- ✓Exports to PDF
- ✓Imports PDF into a presentation
- ✓Exports slides to raster images
- ✓Exports to HTML
- ✓Extracts text / Markdown / JSON
- ✓Runs entirely on the customer's own infrastructure
- ✓Offered as a hosted API the customer calls — through Aspose.Slides Cloud, a separate product
- ✓Runs without a Microsoft Office / LibreOffice installation
- ✓Works with no outbound network access
- ✓Create from nothing
- ✓Open, modify, save back
- ✓Preserve untouched content
- ✓Merge or append presentations
- ✓Slide thumbnails
- ✓Create charts
- ✓Published performance numbers — one published capacity figure, no benchmark suite
- ✓Air-gapped install and licensing
- ✓.NET · Java / JVM · Python · C / C++
- ✓JavaScript / TypeScript / Node · PHP
- ✓Android, SharePoint and JasperReports integrations
- ✓Language-agnostic REST/HTTP API — through Aspose.Slides Cloud, a separate product
- ✓Public API reference and guides
- ✓Runnable sample projects
- ✓Paid support and escalation
Start with the trial, license when you ship
The trial is the full API, so you can test the formats you actually care about before you talk to anyone. In evaluation mode the library reads only the first five characters of any text, followed by a notice; its text extractor returns none of the presentation’s text; and saving adds an evaluation watermark to every slide. A temporary licence lifts all three for 30 days.
If you don't want a library
Aspose.Slides Cloud is a hosted REST API for loading, creating, editing and converting presentations.
No-code apps
Resources
In use
There would be no hesitation in recommending Aspose.Slides (or any of the other APIs) for both small and larger technical requirements. It will save you a world of time, money and energy over building it for yourself.
— Matt Rowbotham · Traxart · January 2020
It was worth the money with regards to purchase: it would have been nowhere near as fast without these products.
— Jens Gehrke, Principal Senior Consultant · Oracle Consultancy · 2011
The product worked as advertised, the documentation was easy to follow, and the support forums were all the help we needed. The final solution that we deployed has exceeded our initial expectations by a great deal.
— Bruce Brien, CEO · Stratascope Inc. · January 2011