Browse our Products

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

Competitive features:

  • Implement a faster IccColorConverter pixelsCache
KeySummaryCategory
IMAGINGPYTHONNET-510ArgumentOutOfRangeException in TiffFrame.ImageOpacityEnhancement
IMAGINGPYTHONNET-509WebP image is exported incorrectly in PNG and JPEGEnhancement
IMAGINGPYTHONNET-508Implement a faster IccColorConverter pixelsCacheFeature

Public API changes:

Usage Examples:

IMAGINGPYTHONNET-510 ArgumentOutOfRangeException in TiffFrame.ImageOpacity

from aspose.pycore import as_of
from aspose.imaging import Image
from aspose.imaging.fileformats.tiff import TiffImage

with as_of(Image.load("Multi2.tif"), TiffImage) as image:
     opacity = image.image_opacity
     print(opacity);

     opacity = image.frames[7].image_opacity # <<---- here was the exception
     print(opacity);

IMAGINGPYTHONNET-509 WebP image is exported incorrectly in PNG and JPEG

from aspose.imaging import Image
from aspose.imaging.imageoptions import PngOptions
from aspose.imaging.fileformats.png import PngColorType

with Image.load("issue-test.webp") as image:
   options = PngOptions()
   options.color_type = PngColorType.TRUECOLOR_WITH_ALPHA
   image.save("test.png", options)

IMAGINGPYTHONNET-508 Implement a faster IccColorConverter pixelsCache

from aspose.imaging import Image

with Image.load("44029.jpg") as image:
    image.save("44029.png")