浏览我们的产品 Toggle navigation
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.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
在此 API 版本中,我们修复了在 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()); }
此图像处理 API 版本修复了“CDR”文件处理异常以及开发人员无法读取“DICOM”图像的情况的错误。
var fileName = @"D:\file.cdr"; var outFileName = fileName + ".png"; using (Image image = Image.Load(fileName)) { image.Save(outFileName, new PngOptions()); }
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); }
以前,AdjustContrast 和 AdjustGamma 操作未正确应用于 GIF 多帧图像。两者都已在此版本中解决。
AdjustContrast
AdjustGamma
GIF
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); }
有关此版本中的功能、增强和错误修复的完整列表,请访问 Aspose.Imaging for .NET 22.6。