Slidize.Plugins is a lightweight Python library for managing presentations and converting them to PowerPoint, OpenDocument, and image formats.
Project description
Slidize.Plugins for Python Library
Product Page | Docs | API Reference | Examples | Free Support | Temporary License
Slidize.Plugins is a lightweight Python library for managing presentations and converting them to PowerPoint, OpenDocument, and image formats. With its unique licensing system, you can plug in and purchase only the functionality you need. It supports advanced image processing, customizable presentation formats, merging presentations, and controlling notes, comments, and hidden slides. The library also offers PDF compliance control and multi-page TIFF exports, making it ideal for batch conversions and complex workflows.
Supported Formats
Slidize.Plugins supports a wide variety of output formats for flexibility in handling presentation files:
- PowerPoint Formats: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POT, POTX, POTM
- OpenDocument Formats: ODP, FODP, OTP
- Image Formats: PNG, JPEG, TIFF, SVG
- Document Formats: PDF, HTML, XML
Key Features
- Convert presentations to a wide range of formats including PDF, PNG, JPEG, TIFF, SVG, HTML.
- Convert presentations to other presentation formats like PPT, PPTX, POT, POTX, PPS, PPSX, ODP, FODP.
- Merge multiple presentations into a single file.
- Customize handout layouts, notes, and comments for export.
- Advanced image processing with pixel format, resolution, and compression control.
- Support for both PowerPoint 97-2003 and Open XML formats.
- Support OpenDocument formats.
License Management
The license management system in Slidize.Plugins is designed to give you complete control over the features and tools you acquire. Instead of being forced into purchasing an entire package, you can choose only the functionalities that are directly relevant to your tasks, allowing for a more personalized and cost-efficient experience. This system empowers you to customize your usage based on your specific needs, ensuring that you don’t pay for features you won’t use. Moreover, as your needs evolve, you have the flexibility to expand your toolkit by purchasing additional functionalities, making it a scalable solution. Whether you are working on small projects or managing large-scale tasks, you can adjust your access to match the exact demands of your workflow. By offering this targeted approach, the License Management system helps to eliminate waste, streamline operations, and provide a tailored set of tools that enhances your productivity without unnecessary expenses.
The following code example shows how to enable licenses to plug in the Slidize.Plugins functionality for converting presentations to PDF documents and merging PowerPoint and OpenDocument presentations.
import slidize
license_file_paths = [
"MyLicenses/PresentationToPDFConverter.lic",
"MyLicenses/PresentationMerger.lic"
]
for file_path in license_file_paths:
slidize.License.plug_license(file_path)
Convert PowerPoint to PDF
Converting a PowerPoint presentation to PDF is a common requirement for many applications, whether for distributing static copies of slides or archiving presentations. With Slidize.Plugins, you can convert any presentation to PDF while maintaining full control over the export options, such as embedding fonts, adjusting compliance levels (e.g., PDF/A), and controlling hidden slides and notes.
import slidize
options = slidize.PdfConverterOptions()
options.compliance_level = slidize.PdfComplianceLevel.PDF_A1B
options.embed_full_fonts = True
slidize.PresentationToPdfConverter.process("presentation.pptx", "output.pdf", options)
Convert PowerPoint to PNG
Exporting slides as high-quality PNG images is useful for creating slide previews, embedding them in reports, or sharing individual slide images. Slidize.Plugins allows you to control the resolution, size, and scale of the images produced. This ensures that your output fits the exact dimensions and quality required for your project.
import slidize
options = slidize.ImageConverterOptions()
options.image_width = 960
options.image_height = 720
slidize.PresentationToPngConverter.process("presentation.pptx", "output.png", options);
Convert PowerPoint to HTML
Converting presentations to HTML enables embedding slides in web pages, providing easy access and sharing for presentations in a browser-friendly format. The Slidize.Plugins library allows customization of the HTML export, such as scaling images, and even handling hidden slides. This is ideal for users who need to distribute presentations online while maintaining slide quality and structure.
import slidize
options = slidize.HtmlConverterOptions()
options.pictures_compression = slidize.PicturesCompressionLevel.DPI330
options.slide_image_scale = 2
slidize.PresentationToHtmlConverter.process("presentation.pptx", "output.html", options);
Convert PowerPoint to Other Presentation Formats
In addition to exporting to image and document formats, Slidize.Plugins supports converting PowerPoint presentations to a variety of presentation file formats, such as PPTX, PPSX, ODP, and more. This is especially useful for users who need to transition presentations between different platforms or software environments. The ability to convert to OpenDocument Presentation (ODP) format ensures compatibility with open-source tools, while converting to macro-enabled formats like PPTM retains functionality for presentations with embedded macros.
import slidize
# Convert to PPTX
slidize.PresentationConverter.process("presentation.ppt", "output.pptx", slidize.ConvertFormat.PPTX);
// Convert to ODP
slidize.PresentationConverter.process("presentation.pptx", "output.odp", slidize.ConvertFormat.ODP);
Merge PowerPoint Files
Merging multiple PowerPoint presentations into a single file is a valuable feature for users managing large presentations or combining content from different sources. The Slidize.Plugins package provides an easy way to merge files with minimal effort. This functionality supports combining PowerPoint presentations in both the legacy and modern formats.
import slidize
presentations = ["presentation1.pptx", "presentation2.pptx"]
slidize.PresentationMerger.process(presentations, "merged.pptx");
Advanced Export Options
The library offers extensive control over how presentations are exported. You can customize the output with advanced options, such as setting the image scale, specifying compression levels for images, and choosing how notes and comments are displayed in the final output. Here's an example of exporting a presentation with custom options:
import slidize
slides_view_options = slidize.NotesCommentsViewOptions()
slides_view_options.notes_position = slidize.NotesPositions.BOTTOM_FULL
slides_view_options.comments_position = slidize.CommentsPositions.RIGHT
options = slidize.PdfConverterOptions()
options.compliance_level = slidize.PdfComplianceLevel.PDF_A1B
options.slides_view_options = slides_view_options
slidize.PresentationToPdfConverter.process("presentation.pptx", "output_with_notes.pdf", options);
Extract Raw Text from Presentation
import slidize
raw_slides_text = slidize.PresentationTextExtractor.process("presentation.pptx", slidize.TextExtractionMode.UNARRANGED)
for slide_text in raw_slides_text:
# Print the text extracted from the slide
print(slide_text.text)
# Print the text extracted from the master of the slide
print(slide_text.master_text)
# Print the text extracted from the layout of the slide
print(slide_text.layout_text)
# Print the notes text extracted from the slide
print(slide_text.notes_text)
# Print the comments text extracted from the slide
print(slide_text.comments_text)
Product Page | Docs | API Reference | Examples | Free Support | Temporary License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file slidize_plugins-25.4.0-py3-none-win_amd64.whl.
File metadata
- Download URL: slidize_plugins-25.4.0-py3-none-win_amd64.whl
- Upload date:
- Size: 52.6 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06387bcde38e001e2a291f44014e0f0e0fdd7ce45723971fb75bd46b1f4678aa
|
|
| MD5 |
f65fce0a1731c124aab72cabb70a7090
|
|
| BLAKE2b-256 |
abb026f8cd78adec2d041fe9f61d50c91f0b16991d68f55875cafa4a7b042db9
|
File details
Details for the file slidize_plugins-25.4.0-py3-none-win32.whl.
File metadata
- Download URL: slidize_plugins-25.4.0-py3-none-win32.whl
- Upload date:
- Size: 47.5 MB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a5dfdd76d09394113d5239b6dee4c88c69fdde6b94b3f88a30aff659625ec61
|
|
| MD5 |
4056968aca0cde80d1572aa3db5cc074
|
|
| BLAKE2b-256 |
de30c2801036d3ce2477705708d6dadd31ab7100fb3e02608ae24c9706a67615
|
File details
Details for the file slidize_plugins-25.4.0-py3-none-manylinux1_x86_64.whl.
File metadata
- Download URL: slidize_plugins-25.4.0-py3-none-manylinux1_x86_64.whl
- Upload date:
- Size: 61.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b51c87d2db65b0da417603521f0a819d8c75f601ff876fab2a932f36f81d9201
|
|
| MD5 |
f7a594522cb2b6d31591245749d4c0fb
|
|
| BLAKE2b-256 |
a166bffb136bd2c4f4ffb742b8a3047e2c8ab5a486f248c7fe6c17afed2f44b0
|
File details
Details for the file slidize_plugins-25.4.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: slidize_plugins-25.4.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 50.3 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dda13bfca395ff5dc3e524c991f61a05433dede0da0124d92e9b071d88d34690
|
|
| MD5 |
24163adf56f03d2d71367d4f3957655a
|
|
| BLAKE2b-256 |
0168271ebe98db96eefb93a0dd0ae1d529b00bbcf961c001840ed4afb9beb458
|
File details
Details for the file slidize_plugins-25.4.0-py3-none-macosx_10_14_x86_64.whl.
File metadata
- Download URL: slidize_plugins-25.4.0-py3-none-macosx_10_14_x86_64.whl
- Upload date:
- Size: 57.3 MB
- Tags: Python 3, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9bee138bf805eec9e113d6ede749750f2c261730122177ce1b41941da3d3269
|
|
| MD5 |
8a4609739159780286bf8121a9acf671
|
|
| BLAKE2b-256 |
eaccce3ec23aa3d31a09b5199ecfda2b06b68339dcc9a1efa1356e545bc32c5d
|