Convertir PSD en PNG via C#
API .NET Photoshop pour la conversion des fichiers PSD et PSB en images matricielles, y compris les fichiers PNG
Rendu de haute qualité du PSD au format PNG
- Chargez le PSD avec Image. Charger méthode
- Créez une instance de Options PNG classe
- Appelez Image. Enregistrer méthode
- Transmettre le nom de fichier de sortie et l’objet de PNGOptions
Commencez avec l'API .NET Photoshop
Installer à partir de la ligne de commande en tant que nuget install Aspose.PSD
ou via la console Package Manager de Visual Studio avec Install-Package Aspose.PSD
.
Alternatively, get the offline MSI installer or DLLs in a ZIP file from téléchargements .
Code .NET C# pour la conversion de PSD en 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