PRODUCT_NAME_ALT

Free online PPTM to EMF conversion via ruby

Use free online app or Ruby SDK to convert between PPTM & EMF as well as several popular formats from Microsoft® PowerPoint.

Ruby Code for Converting PPTM to EMF

# Converting PPTM to HTML
require 'aspose_slides_cloud'
api_slides = AsposeSlidesCloud::SlidesApi.new

begin
    folder_name = "/"
    file_name = "file.PPTM"
    out_path = "/" + file_name
    AsposeSlidesCloud::SpecUtils.api.copy_file("TempTests/" + file_name, folder_name + "/" + file_name)
    AsposeSlidesCloud::SpecUtils.api.save_presentation(file_name, AsposeSlidesCloud::ExportFormat::HTML, out_path, nil, "password", folder_name)
end

# Converting HTML to EMF
require 'aspose_slides_cloud'
api_slides = AsposeSlidesCloud::SlidesApi.new

begin
    folder_name = "/"
    file_name = "file.HTML"
    out_path = "/" + file_name
    AsposeSlidesCloud::SpecUtils.api.copy_file("TempTests/" + file_name, folder_name + "/" + file_name)
    AsposeSlidesCloud::SpecUtils.api.save_presentation(file_name, AsposeSlidesCloud::ExportFormat::EMF, out_path, nil, "password", folder_name)
end

How to convert PPTM to EMF online in Cloud Apps

  1. Initialize WordsApi and CellsApi with Client Id, Client Secret, Base URL & API version
  2. Set ConvertDocumentRequest with parameters local file name and format as HTML
  3. Call WordsApi convertDocument to convert PPTM document to HTML
  4. Initialize SaveOption from CellsAPI with parameters SaveFormat as EMF
  5. Call cellsSaveAsPostDocumentSaveAs method to convert PPTM file to EMF

Get Started with Aspose.Total REST APIs

  1. Create an account at Dashboard to get free API quota & authorization details
  2. Get Aspose.Words and Aspose.Cells Cloud SDKs for Ruby source code from Aspose.Words GitHub and Aspose.Cells GitHub repos to compile/use the SDK yourself or head to the Releases for alternative download options.
  3. Also have a look at Swagger-based API Reference for Aspose.Words and Aspose.Cells to know more about the REST API.

How to Convert PowerPoint PPTM to other formats online

Aspose.Slides

You can use Aspose.Slides to transform PPTM files into HTML format. Then, you can input the HTML files to any of the APIs in Aspose.Total, such as Aspose.Words, Aspose.Cells, Aspose.PDF, Aspose.Email, Aspose.Diagram, Aspose.Tasks, Aspose.3D, Aspose.HTML. This will allow you to output the files in hundred of different formats.

To see the full list of supported formats, please check the Aspose.Total Cloud page.

How to convert MS PowerPoint PPTM to Image formats

Aspose.Slides Cloud SDK produces few quick and easy ways to convert MS PowerPoint files to various image formats similar to what we have done above for EMF: by direct REST API calls or using SDKs. There are multiple image formats accessible for converting PowerPoint slides with Aspose.Slides Cloud APIs - JPEG, PNG, BMP, GIF, and TIFF.

  1. Create SlidesApi class instance to convert PPTM document
  2. Call Convert method of SlidesApi class instance for conversion from PPTM and provide desired format as 2nd parameter.

How to Convert PPTM to PDF online

For PPTM to PDF, you need to go to the web page PPTM to PDF and upload the PPTM file from your device. Then, you need to click on the “Convert” button and wait for the conversion to finish. After that, you can download the PDF file to your device.

How to Convert Webpage to EMF format

For Webpage to EMF format conversion, you need to go to the website Webpage to EMF and enter the URL of the webpage you want to convert in the input box. Then, you need to click on the “Convert” button and wait for the conversion to finish. After that, you can download the EMF file to your device.

FAQ

  • What is PPTM Format?
    Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. They are similar to PPTX files with the difference that the lateral can’t execute macros though they can contain macros. PPTM files can be edited by opening them in Microsoft PowerPoint and updating the contents. Another similar format is PPSM but it is read-only by default and starts the slideshow when opened. PPTM, like PPTX, contains slides for different presentation elements like text, images, videos, graphs and other related material.
  • What is EMF Format?
    Enhanced metafile format (EMF) stores graphical images device-independently. Metafiles of EMF comprises of variable-length records in chronological order that can render the stored image after parsing on any output device. These variable-length records can be definitions of enclosed objects, commands for drawing, and graphics properties critical to render the image accurately. When a device opens an EMF metafile using its own graphics environment, the proportions, dimensions, colors and other graphic properties of original image remains same regardless of the opening device platform.
  • How can I get started with Aspose.Total REST APIs?
    Quickstart not only guides through the initialization of Aspose.Total Cloud API, it also helps in installing the required libraries.
  • Where can I see the release notes for Aspose.Total Cloud API?
    Complete release notes can be reviewed at Aspose.Total Cloud Documentation.
  • Is it safe to convert PPTM to EMF 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.Total Cloud API?
    Aspose.Total Cloud can convert file formats from any product family to any other product family to PDF, DOCX, XPS, image(TIFF, JPEG, PNG BMP), MD 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.Total Cloud is also available as a Docker Container. Try using it with cURL in case your required SDK is not available yet.