浏览我们的产品 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 将纹理画笔导出为矢量化 Adobe Photoshop® PSD 格式。
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); }
此版本的图像处理 API 通过透明度处理和边框颜色强度显着提高了重采样质量。
List<ResizeType> resizeTypes = new List<ResizeType>() { ResizeType.NearestNeighbourResample, ResizeType.AdaptiveResample, ResizeType.Bell, ResizeType.BilinearResample, ResizeType.CatmullRom, ResizeType.CubicBSpline, ResizeType.CubicConvolution, ResizeType.HighQualityResample, ResizeType.LanczosResample }; foreach (ResizeType resizeType in resizeTypes) { using (Image image = Image.Load("square-499.png")) { image.Resize(400, 400, resizeType); image.Save("square-499" + resizeType + ".png"); } }
TSPAN
以前,在某些情况下,SVG TSPAN 元素的对齐存在问题。现在,这些问题已通过改进 API 中的 SVG TSPAN 元素处理得到解决。
const string baseFolder = @"D:\"; const string fileName = "w3c_tspan02.svg"; var inputFileName = Path.Combine(baseFolder, fileName); var outFileName = inputFileName + ".png"; using (Image image = Image.Load(inputFileName)) { image.Save(outFileName, new PngOptions()); }
有关此版本中的功能、增强和错误修复的完整列表,请访问 Aspose.Imaging for .NET 22.4。