Browse our Products

Aspose.Imaging for .NET 22.9 - Release notes

Competitive features:

  • Add Apple MakerNote tags parsing
  • Add support for Icon File (.ico) file format
KeySummaryCategory
IMAGINGNET-5265Add Apple MakerNote tags parsingFeature
IMAGINGNET-4180Add support for Icon File (.ico) file formatFeature
IMAGINGNET-5638CDR to PDF conversion issueEnhancement
IMAGINGNET-5623BMP loading bugEnhancement
IMAGINGNET-5583Problem with loading JPG imageEnhancement
IMAGINGNET-5444Cannot save particular SVG imageEnhancement
IMAGINGNET-5441Cannot compress particular SVG imageEnhancement
IMAGINGNET-4736Exception on reading EPS image sizeEnhancement

Public API changes:

Added APIs:

Class Aspose.Imaging.FileFormats.Ico.IcoImage

Class Aspose.Imaging.ImageOptions.IcoOptions

Field/Enum Aspose.Imaging.FileFormat.Ico

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

Method Aspose.Imaging.FileFormats.Ico.IcoImage.AddPage(Aspose.Imaging.Image)

Method Aspose.Imaging.FileFormats.Ico.IcoImage.AddPage (Aspose.Imaging.Image,Aspose.Imaging.ImageOptions.IcoOptions)

Method Aspose.Imaging.FileFormats.Ico.IcoImage.AddPage(Aspose.Imaging.RasterImage)

Method Aspose.Imaging.FileFormats.Ico.IcoImage.ReleaseUnmanagedResources

Method Aspose.Imaging.FileFormats.Ico.IcoImage.RemovePage(System.Int32)

Method Aspose.Imaging.FileFormats.Ico.IcoImage.SaveData(System.IO.Stream)

Method Aspose.Imaging.FileFormats.Ico.IcoImage.UpdateDimensions(System.Int32,System.Int32)

Method Aspose.Imaging.ImageOptions.IcoOptions.#ctor(Aspose.Imaging.FileFormat,System.Int32)

Property Aspose.Imaging.FileFormats.Ico.IcoImage.DefaultPage

Property Aspose.Imaging.FileFormats.Ico.IcoImage.FileFormat

Property Aspose.Imaging.FileFormats.Ico.IcoImage.HasAlpha

Property Aspose.Imaging.FileFormats.Ico.IcoImage.PageCount

Property Aspose.Imaging.FileFormats.Ico.IcoImage.Pages

Property Aspose.Imaging.FileFormats.Webp.WebPFrameBlock.UseAlphaBlending

Property Aspose.Imaging.ImageOptions.IcoOptions.BitsPerPixel

Property Aspose.Imaging.ImageOptions.IcoOptions.Format

Removed APIs:

Usage Examples:

IMAGINGNET-5638 CDR to PDF conversion issue

var baseFolder = @"D:\";
var inputFile = Path.Combine(baseFolder, "zweedsloopspel jungle.cdr");
using (Image image = Image.Load(inputFile))
{
    image.Save(inputFile + ".pdf", new PdfOptions());
}

IMAGINGNET-5623 BMP loading bug

using (var image = Image.Load("input.bmp"))
{
    image.Save("output.dcm", new DicomOptions());
}

IMAGINGNET-5583 Problem with loading JPG image

JPEG to PNG export example:
using (var image = Image.Load("00015336_asd.jpg"))
{
    image.Save("output.jpg");
}

IMAGINGNET-5444 Cannot save particular SVG image

SVG loading and export example:
using (var image = Image.Load("input.svg"))
{
    image.Save("output.svg");
}

IMAGINGNET-5441 Cannot compress particular SVG image

Svg loading and export example:
using (var image = Image.Load("input.svg"))
{
    image.Save("output.svgz", new SvgOptions { Compress = true });
}

IMAGINGNET-5265 Add Apple MakerNote tags parsing

Getting EXIF maker notes from JPEG:
var dict = new Dictionary<string, string>();
using (var image = Image.Load("input.jpeg") as JpegImage)
{
    var jpegExifData = image.ExifData;
    if (jpegExifData != null)
    {
        var makerNotes = jpegExifData.MakerNotes;
        if (makerNotes != null)
        {
            foreach (var makerNote in makerNotes)
            {
                dict.Add(makerNote.Name, makerNote.Value);
            }
        }
    }
}

IMAGINGNET-4736 Exception on reading EPS image size

var img = Image.Load("62.eps");
var s = img.Size;

IMAGINGNET-4180 Add support for Icon File (.ico) file format

using(Image image = Image.Load("icon-24bit.ico"))
{
    image.Save("result.png", new PngOptions());
}