Browse our Products

Aspose.Imaging for .NET 22.10 - Release notes

Competitive features:

  • Support of 16-bit/Channel 64 bit PNG images
  • Added new version of support of alternative graphics engine - Aspose.Drawing instead of System.Drawng.Common/GDI+ for .NET Standard 2.0 and higher configurations (available as Aspose.Imaging 22.10 beta)
KeySummaryCategory
IMAGINGNET-4826Support of 16-bit/Channel 64 bit PNG imagesFeature
IMAGINGNET-5682Exception on conversion Gif and Dicom images to BmpEnhancement
IMAGINGNET-5541Exception while load the particular tiffEnhancement
IMAGINGNET-5106Cannot export particular SVG imageEnhancement
IMAGINGNET-4851“Unknown character - " exception when open ODG fileEnhancement
IMAGINGNET-4833DNG to JPG changes image colorEnhancement
IMAGINGNET-4068PSD exporter saves CMYK colors as RGBEnhancement

Public API changes:

Added APIs:

Class Aspose.Imaging.IRasterImageArgb64PixelLoader

Field/Enum Aspose.Imaging.FileFormats.OpenDocument.Enums.OdTextAlignModeFlags.Justify

Method Aspose.Imaging.CmykColorHelper.ToCmykIcc(System.Int32)

Method Aspose.Imaging.CmykColorHelper.ToCmykIcc(System.Int32,System.IO.Stream,System.IO.Stream)

Method Aspose.Imaging.CmykColorHelper.ToCmykIcc(System.Int32[])

Method Aspose.Imaging.CmykColorHelper.ToCmykIcc(System.Int32[],System.IO.Stream,System.IO.Stream)

Method Aspose.Imaging.CmykColorHelper.ToPsdCmykIcc(System.Int32)

Method Aspose.Imaging.CmykColorHelper.ToPsdCmykIcc (System.Int32,System.IO.Stream,System.IO.Stream)

Method Aspose.Imaging.CmykColorHelper.ToPsdCmykIcc(System.Int32[])

Method Aspose.Imaging.CmykColorHelper.ToPsdCmykIcc (System.Int32[],System.IO.Stream,System.IO.Stream)

Method Aspose.Imaging.FileFormats.Ico.IcoImage.#ctor (System.Int32,System.Int32,Aspose.Imaging.ImageOptions.IcoOptions)

Method Aspose.Imaging.IRasterImageArgb64PixelLoader.LoadPartialArgb64Pixels (Aspose.Imaging.Rectangle,Aspose.Imaging.IPartialArgb64PixelLoader)

Method Aspose.Imaging.RasterImage.LoadPartialArgb64Pixels (Aspose.Imaging.Rectangle,Aspose.Imaging.IPartialArgb64PixelLoader)

Method Aspose.Imaging.Sources.StreamSource.#ctor

Property Aspose.Imaging.ImageLoadOptions.DngLoadOptions.AdjustWhiteBalance

Removed APIs:

Usage Examples:

IMAGINGNET-5682 Exception on conversion Gif and Dicom images to Bmp

Raster image to BMP of 16 bits per pixel and Bitfields compression:

var inputs = new[] { "gif.gif", "dicom.dicom" };

foreach (var inputPath in inputs)
{
    using (var image = Image.Load(inputPath))
    {
        image.Save(inputPath + ".bmp", new BmpOptions { BitsPerPixel = 16 });
    }
}

IMAGINGNET-5541 Exception while load the particular tiff

using (var image = Image.Load("input.tif"))
{
   image.Save("output.png", new PngOptions());
}

IMAGINGNET-5106 Cannot export particular SVG image

using (var image = Image.Load("logo.svg"))
{
    image.Save("logo-to-png.png", new PngOptions());
}

IMAGINGNET-4851 “Unknown character - " exception when open ODG file

using (var image = Image.Load("input.odg"))
{
    image.Save("output.png", new PngOptions());
}

IMAGINGNET-4833 DNG to JPG changes image color

using (Image image = Image.Load("input.dng", new DngLoadOptions() { AdjustWhiteBalance = true }))
{
    image.Save("input.dng.jpg", new JpegOptions());
}

IMAGINGNET-4826 Support of 16-bit/Channel 64 bit PNG images

using (RasterImage image = (RasterImage)Image.Load("image0.png"))
{
    ImageOptionsBase options = image.GetOriginalOptions();
    image.Save("result.png", options);
}

IMAGINGNET-4068 PSD exporter saves CMYK colors as RGB

using (JpegImage image = (JpegImage)Image.Load("cat.jpg"))
{
    image.Save(
        "output_CMYK_8.psd",
        new PsdOptions()
        {
            ColorMode = ColorModes.Cmyk
        });
}