Navegue pelos nossos produtos

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.Imaging para .NET 22.5

Download  Fórum de suporte 

Detalhes do arquivo

  • Downloads:
  • 1
  • Tamanho do arquivo:
  • 38.4 MB
  • Data de adição:
  • : 3 days ago [5/13/2022]

Detalhes do arquivo

Aviso de remoção do Net2.0 - Observe que nas versões mais próximas a configuração do NET2.0 não será suportada.

Suporte aprimorado ao processamento DIB

Nesta versão da API, o suporte ao processamento do formato raster DIB foi aprimorado.

CdrRasterizationOptions rasterizationOptions = new CdrRasterizationOptions();
PsdVectorizationOptions psdVectorizationOptions = new PsdVectorizationOptions()
{
    VectorDataCompositionMode = VectorDataCompositionMode.SeparateLayers
};
PsdOptions psdOptions = new PsdOptions()
{
    VectorRasterizationOptions = rasterizationOptions,
    VectorizationOptions = psdVectorizationOptions
};

string inputFileName = "brushes.cdr";
string outputFileName = "brushes.cdr.psd";

using (Image image = Image.Load(inputFileName))
{
    psdOptions.VectorRasterizationOptions.PageWidth = image.Width;
    psdOptions.VectorRasterizationOptions.PageHeight = image.Height;

    image.Save(outputFileName, psdOptions);
    image.Save(outputFileName + ".png", new PngOptions());
}

Unificar extração de imagens raster de vetores

Unificou a extração de imagens raster, embutidas em formatos vetoriais.

private static string GetExtension(FileFormat format)
 {
     switch (format)
     {
         case FileFormat.Jpeg:
             return ".jpg";
         case FileFormat.Png:
             return ".png";
         case FileFormat.Bmp:
             return ".bmp";

         default:
             return "." + format.ToString();
     }
 }

var baseFolder = @"D:\test";
var outputFolder = Path.Combine(baseFolder, "out");
Directory.CreateDirectory(outputFolder);
var fileNames = new string[] {"test.cdr", "test.cmx", "test.svg", "test.emf", "test.wmf", "test.odg", "test.otg", "test.eps"};
foreach (var fileName in fileNames)
{
    var inputFileName = Path.Combine(baseFolder, fileName);
    using (Image image = Image.Load(inputFileName))
    {
        var images = ((VectorImage) image).GetEmbeddedImages();
        int i = 0;
        foreach (EmbeddedImage im in images)
        {
            string outFileName = string.Format("{2}_image{0}{1}", i++, GetExtension(im.Image.FileFormat), image.FileFormat);
            string outFilePath = Path.Combine(outputFolder, outFileName);
            using (im)
            {
                im.Image.Save(outFilePath);
            }
        }
    }
}

Suporte Linux para conversão de SVGZ para PNG

Anteriormente, observamos a exportação incorreta de SVGZ para PNG no Linux. Este problema já foi resolvido.

Por favor, execute o seguinte código no sistema Linux.

 using (var image = Aspose.Imaging.Image.Load("example.svgz"))
 {
     image.Save("result.png", new PngOptions());
 }

Melhoria na exportação de GIF para APNG

Corrigido o problema de exportação incorreta de GIF para APNG.

using (GifImage image = (GifImage)Image.Load(inputFileName))
{
    image.Save(outputFileName, new ApngOptions() { ColorType = PngColorType.TruecolorWithAlpha });
}

Melhor suporte para o formato DICOM

Resolvida e corrigida a exceção ao salvar a imagem DICOM.

using (Image image = Image.Load("sample.dcm"))
{
    image.Save("sample.dcm.jpeg", new JpegOptions());
}

Para obter uma lista completa de recursos, aprimoramentos e correções de bugs nesta versão, visite Aspose.Imaging for .NET 22.5.

 Português