Convertir PSB 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é de PSB au format PNG
- Chargez le PSB 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 PSB en PNG
PSB What is PSB File Format?
Adobe photoshop saves files in two formats. Files having 30,000 by 30,000 pixels in size are saved with PSD extension and files larger than PSD upto 300,000 by 300,000 pixels are saved with PSB extension known as “Photoshop Big”. More specifically, PSB files can be as large as 4 EB (over 4.2 billion GB) with images that have a height and width of up to 300,000 pixels. PSDs, on the other hand, can be at maximum upto 2 GB and image dimensions of 30,000 pixels.
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