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.6

Download  Fórum de suporte 

Detalhes do arquivo

  • Downloads:
  • 2
  • File Size:
  • 38.41MB
  • Date Added:
  • 8/6/2022

Descrição

Ele contém Aspose.Imaging para a versão .NET 22.6.

Detalhes do arquivo

Manuseio aprimorado dos cantos arredondados do retângulo

Nesta versão da API corrigimos o problema com cantos arredondados no retângulo gerado no arquivo EMF.

string baseFolder = @"D:\";
string file = "result.png";
string outputFileName = Path.Combine(baseFolder, file);
EmfRecorderGraphics2D graphics = new EmfRecorderGraphics2D(
    new Rectangle(0, 0, 1000, 1000),
    new Size(1000, 1000),
    new Size(100, 100));

Pen pen = new Pen(Color.Red, 10);
graphics.DrawRectangle(pen, 10, 10, 80, 80);
pen.LineJoin = LineJoin.Miter;
pen.EndCap = LineCap.Flat;

using (EmfImage image = graphics.EndRecording())
{
    image.Save(outputFileName, new PngOptions());
}

Melhor suporte para formatos CDR e DICOM

Esta versão da API de processamento de imagem corrigiu bugs com exceção no manuseio de arquivos CDR, bem como um cenário em que os desenvolvedores não podiam ler a imagem DICOM.

var fileName = @"D:\file.cdr";
var outFileName = fileName + ".png";
using (Image image = Image.Load(fileName))
{
    image.Save(outFileName, new PngOptions());
}

Imagem DICOM

using (var image = Image.Load("file.dcm") as DicomImage)
{
    var pngOptions = new PngOptions()
    {
        ColorType = Png.PngColorType.TruecolorWithAlpha,
        Progressive = true,
    };

    image.Save("file-page-0.png", pngOptions);
    image.Pages[57].Save("file-page-57.png", pngOptions);
}

Suporte de contraste e gama para imagem de vários quadros GIF

Anteriormente, as operações AdjustContrast e AdjustGamma não estavam sendo aplicadas corretamente na imagem de vários quadros GIF. Ambos foram resolvidos nesta versão.

var path = @"D:\earth.gif";

var outputPath = @"D:\earth-contrast.gif";
using (var image = Image.Load(path) as RasterImage)
{
    image.AdjustContrast(40);
    image.Save(outputPath);
}

outputPath = @"D:\earth-gamma.gif";
using (var image = Image.Load(path) as RasterImage)
{
    image.AdjustGamma(3.5f);
    image.Save(outputPath);
}

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

 Português