Convert HTML to PNG with Python

Read, Edit & Export Slides data to other formats with open source Cloud SDK for Python

HTML to PNG Conversion with Python

  1. Create an account at Dashboard to get free API quota & authorization details
  2. Initialize SlidesApi with Client Id and Client Secret
  3. Call one of the convert methods, depending where is your input HTML file and where you want to store the resultant PNG file
    • convert to convert a local file and to download the result.
    • convert_and_save to convert a local file and save the result to the storage.
    • download_presentation to convert a file on storage and to download the result.
    • save_presentation to convert a file on storage and save the result to the storage.

Get Started with Slides API & Python SDK

Get Slides Cloud SDK for Python source code from GitHub to compile the SDK yourself or head to the Releases for alternative download options.

Also have a look at Swagger-based API Reference to know more about the SLIDES REST API.

:
...

FAQ

  • How can I get started with Aspose.Slides REST APIs?
    Quickstart not only guides through the initialization of Aspose.Slides Cloud API, it also helps in installing the required libraries.
  • Where can I see the release notes for Aspose.Slides Cloud API?
    Complete release notes can be reviewed at Aspose.Slides Cloud Documentation.
  • Is it safe to convert HTML to PNG in the Cloud?
    Of course! Aspose Cloud uses Amazon EC2 cloud servers that guarantee the security and resilience of the service. Please read more about Aspose's Security Practices.
  • What file formats are supported by Aspose.Slides Cloud API?
    Aspose.Slides Cloud can convert HTML to PPT, PPTX, PPS, PPSX, PPTM, PPSM, POTX, POTM, ODP, OTP, PDF, XPS, JPEG, BMP, TIFF, SVG, HTML, SWF, HTML5, GIF, XAML, XML, MD, MPEG4 and more. Checkout the complete list of supported file formats.
  • I can not find the SDK for my favorite language. What should I do?
    Aspose.Slides Cloud is also available as a Docker Container. Try using it with cURL in case your required SDK is not available yet.
  • I do not have time to set up. Is there a quick demo for HTML to PNG that I can try?
    Indeed! Checkout the HTML to PNG Conversion App.