Convertir PSD en JPEG via C#
API .NET Photoshop pour la conversion de PSD et PSB en images matricielles, y compris JPEG
Rendu de haute qualité du PSD au format JPEG
- Chargez le PSD avec Image. Charger méthode
- Créez une instance de Options JPEG classe
- Appelez Image. Enregistrer méthode
- Transmettre le nom de fichier de sortie et l’objet de JpegOptions
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 JPEG
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 MoreJPEG What is JPEG File Format?
A JPEG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Users can adjust the compression level to achieve the desired quality level while at the same time reduce the storage size. Image quality is negligibly affected if 10:1 compression is applied to the image. The higher the compression value, the higher the degradation in image quality.
Read More