Browse our Products

Aspose.Imaging for Python via .NET 23.6 - Release notes

KeySummaryCategory
IMAGINGPYTHONNET-73EMF to SVG NullReferenceExceptionEnhancement
IMAGINGPYTHONNET-74Regression: Exif Data is missing exceptionEnhancement

Public API changes:

Added APIs:

Removed APIs:

Usage Examples:

IMAGINGPYTHONNET-73 EMF to SVG NullReferenceException

with Image.load("SimpleReport.emf") as image:
    image.save("result.svg", SvgOptions())

IMAGINGPYTHONNET-74 Regression: Exif Data is missing exception

import aspose.pycore as pycore
from aspose.imaging import Image, LoadOptions, DataRecoveryMode
from aspose.imaging.fileformats.jpeg import JpegImage

load_options = LoadOptions()
load_options.data_recovery_mode = DataRecoveryMode.CONSISTENT_RECOVER

with pycore.as_of(Image.load("exifdata.jpg", load_options), JpegImage) as image:
    exif_data = image.exif_data
    if exif_data is None:
        raise Exception("ExifData is missing")
    # Do something with it
    bps = exif_data.bits_per_sample