Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.Slides for Python via .NET 24.8 MacOS ARM64

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 57.28MB
  • Date Added:
  • 18/8/2024

Description

Aspose.Slides for Python via .NET 24.8 (macOS ARM64/M1) release.

File Details

Take your MacOS ARM64/M1-powered Python applications to the next level with the latest release of Aspose.Slides for Python via .NET (v24.8).

Add Picture Fills to Presentations

With the newest Python PowerPoint API release, you can unleash appealing presentations with optimized picture-fill capabilities. Apply precise texture positioning and shape scaling by leveraging tile properties.

Code example for adding a rectangle shape with a tiled picture fill:


import aspose.slides as slides

with slides.Presentation() as pres:
    first_slide = pres.slides[0]

    new_image = slides.Images.from_file("image.png")
    pp_image = pres.images.add_image(new_image)

    # Adds the new Rectangle shape
    new_shape = first_slide.shapes.add_auto_shape(slides.ShapeType.RECTANGLE, 0, 0, 350, 350)

    # Sets the fill type of the new shape to Picture
    new_shape.fill_format.fill_type = slides.FillType.PICTURE

    # Sets the shape's fill image
    picture_fill_format = new_shape.fill_format.picture_fill_format
    picture_fill_format.picture.image = pp_image

    # Sets the picture fill mode to Tile and changes the properties
    picture_fill_format.picture_fill_mode = slides.PictureFillMode.Tile
    picture_fill_format.tile_offset_x = -275
    picture_fill_format.tile_offset_y = -247
    picture_fill_format.tile_scale_x = 25
    picture_fill_format.tile_scale_y = 15
    picture_fill_format.tile_alignment = slides.RectangleAlignment.BOTTOM_RIGHT
    picture_fill_format.tile_flip = slides.TileFlip.FLIP_BOTH

    pres.save("Tile.pptx", slides.export.SaveFormat.PPTX)

Source*

Easily Fetch Font Data in Apple Mac

Enjoy finer control over font processing in Python presentations with the newly introduced get_font_bytes method. It fetches font data in the form of byte arrays for different font styles.

Code example to retrieve binary font data:


import aspose.slides as slides
import aspose.pydrawing as drawing

with slides.Presentation("Presentation.pptx") as pres:
    # Retrieve all fonts used in the presentation
	fonts = pres.fonts_manager.get_fonts()

    # Get the byte array representing the regular style of the first font in the presentation
	font_bytes = pres.fonts_manager.get_font_bytes(fonts[0], drawing.FontStyle.REGULAR)

Source*

Here is an example of code to retrieve the embedding level of fonts:


import aspose.slides as slides
import aspose.pydrawing as drawing

with slides.Presentation("Presentation.pptx") as pres:
    # Retrieve all fonts used in the presentation
	fonts = pres.fonts_manager.get_fonts()

    # Get the byte array representing the regular style of the first font in the presentation
	font_bytes = pres.fonts_manager.get_font_bytes(fonts[0], drawing.FontStyle.REGULAR)

    # Determine the embedding level of the font
    embedding_level = pres.fonts_manager.get_font_embedding_level(font_bytes, fonts[0].font_name)

Source*

Identify Restricted Fonts in Python Apps

Conveniently identify restricted fonts in PPTX documents and render presentations in your Python solutions running on MacOS M1 machines.

Save PDFs with Summary Zoom

You can add Summary Zoom to your exported PDF documents using Aspose.Slides for Python via .NET 24.8.

Upgraded HTML5 Presentations

Enjoy optimum presentation processing performance by getting valuable insights into your HTML5 presentations on MacOS M1 with the latest Python API release.

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Slides for Python via .NET 24.8 Release Notes.

 English