Convertir PSD a PNG a través de C#
API .NET Photoshop para conversión de PSD y PSB a imágenes rasterizadas, incluido JPEG
Representación de alta calidad de PSD como PNG
- Cargue el PSD con Imagen. Cargar método
- Crea una instancia de Opciones de PNG clase
- Llamada Imagen. Guardar método
- Pase el nombre de archivo de salida y el objeto de PngOptions
Comience con la API .NET Photoshop
Instalar desde la línea de comandos como nuget install Aspose.PSD
o mediante la consola de gestión de paquetes de Visual Studio con Install-Package Aspose.PSD
.
Alternatively, get the offline MSI installer or DLLs in a ZIP file from descargas .
Código.NET C# para la conversión de PSD a 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 MorePNG 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