Browse our Products

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

Competitive features:

KeySummaryCategory
IMAGINGPYTHONNET-256Saving GIF results in distorted output fileEnhancement
IMAGINGPYTHONNET-255SVG to EMF export issue: output has unexpected elements drawnEnhancement
IMAGINGPYTHONNET-254Fix a bug when drawing characters in EMFEnhancement
IMAGINGPYTHONNET-253Support Dicom YBR 422Enhancement

Public API changes:

Added APIs:

Class aspose.imaging.fileformats.emf.emf.records.EmfBoundedRecord

Class aspose.imaging.fileformats.emf.emf.records.EmfPolyPolyShape

Class aspose.imaging.fileformats.emf.emf.records.EmfPolyShape

Method aspose.imaging.fileformats.emf.emf.records.EmfBoundedRecord.create_from_record(source)

Method aspose.imaging.fileformats.emf.emf.records.EmfBoundedRecord.create_from_type(type)

Method aspose.imaging.fileformats.emf.emf.records.EmfPolyPolyShape.create_from_record(source)

Method aspose.imaging.fileformats.emf.emf.records.EmfPolyPolyShape.create_from_type(type)

Method aspose.imaging.fileformats.emf.emf.records.EmfPolyShape.create_from_record(source)

Method aspose.imaging.fileformats.emf.emf.records.EmfPolyShape.create_from_type(type)

Property aspose.imaging.fileformats.emf.emf.records.EmfBoundedRecord.type

Property aspose.imaging.fileformats.emf.emf.records.EmfBoundedRecord.size

Property aspose.imaging.fileformats.emf.emf.records.EmfBoundedRecord.bounds

Property aspose.imaging.fileformats.emf.emf.records.EmfPolyPolyShape.type

Property aspose.imaging.fileformats.emf.emf.records.EmfPolyPolyShape.size

Property aspose.imaging.fileformats.emf.emf.records.EmfPolyPolyShape.bounds

Property aspose.imaging.fileformats.emf.emf.records.EmfPolyPolyShape.a_points

Property aspose.imaging.fileformats.emf.emf.records.EmfPolyShape.type

Property aspose.imaging.fileformats.emf.emf.records.EmfPolyShape.size

Property aspose.imaging.fileformats.emf.emf.records.EmfPolyShape.bounds

Property aspose.imaging.fileformats.emf.emf.records.EmfPolyShape.a_points

Removed APIs:

Usage Examples:

IMAGINGPYTHONNET-256 Saving GIF results in distorted output file

import shutil
import os
from aspose.imaging import Image

originalPath = "input.gif"
inputPath = original + "-copy.gif"

if os.path.exists(dst):
	os.remove(dst)
shutil.copyfile(src, dst)

with Image.load(inputPath) as image1:
	image1.save()

with Image.load(inputPath) as image2:
	image2.save()

IMAGINGPYTHONNET-254 Fix a bug when drawing characters in EMF

from aspose.imaging import Image

with Image.load("16.emf") as image:
    image.save("16_fixed.pdf")

IMAGINGPYTHONNET-253 Support Dicom YBR 422

from aspose.imaging import Image

inputPath = "input.dcm"
with Image.load(inputPath) as image:
	image.save(inputPath + ".png")