通过 C# 将 PSD 转换为 PNG

用于 PSD 和 PSB 的 .NET Photoshop API 转换为包括 PNG 在内的光栅图像

PSD 的高质量渲染为 PNG

1。用以下方式加载 PSD 图片。加载 方法 1。创建的实例 png 期权 班级 1。打电话 图片。保存 方法 1。传递 pngOptions 的输出文件名和对象

.NET Photoshop API 入门

从命令行安装为 nuget install Aspose.PSD 或者通过 Visual Studio 的软件包管理器控制台使用 Install-Package Aspose.PSD.

Alternatively, get the offline MSI installer or DLLs in a ZIP file from 下载 .

.NET C# 用于将 PSD 转换为 PNG 的代码

PSD What is PSD File Format?

PSD, Photoshop Document, represents Adobe Photoshop’s native file format used for graphics designing and development. PSD files may include image layers, adjustment layers, layer masks, annotations, file information, keywords and other Photoshop-specific elements. Photoshop files have default extension as .PSD and has a maximum height and width of 30,000 pixels, and a length limit of two gigabytes.

Read More

PNG What is PNG File Format?

PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. This file format was created as a replacement of Graphics Interchange Format (GIF) and has no copyright limitations. However, PNG file format does not support animations. PNG file format supports loseless image compression that makes it popular among its users. With the passage of time, PNG has evolved as one of the mostly used image file format.

Read More

Other Conversion Options

PSD TO BMP (Bitmap Image File)
PSD TO GIF (Graphical Interchange Format)
PSD TO JPEG (Joint Photographic Expert Group)
PSD TO JP2 (JPEG 2000 Core Image)
PSD TO PDF (Portable Document Format)
PSD TO TIFF (Tagged Image File Format)