Converter PSD em PNG via C#
API .NET Photoshop para conversão de PSD e PSB em imagens rasterizadas, incluindo PNG
Renderização de alta qualidade de PSD como PNG
- Carregue o PSD com Image.Load método
- Crie uma instância de Opções de PNG classe
- Ligue Imagem. Salvar método
- Passe o nome do arquivo de saída e o objeto de pngOptions
Comece a usar a API .NET Photoshop
Instale a partir da linha de comando como nuget install Aspose.PSD
ou por meio do console do Gerenciador de Pacotes do Visual Studio com Install-Package Aspose.PSD
.
Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .
Código.NET C# para conversão de PSD em 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