Skip to content

Instantly share code, notes, and snippets.

View dimsa's full-sized avatar

Dmitriy Sorokin dimsa

View GitHub Profile
@dimsa
dimsa / Aspose.PSD for Python via .NET
Created April 4, 2024 05:42
Aspose.PSD for Python via .NET
Gist for Aspose.PSD for Python
@dimsa
dimsa / Aspose.PSD for Python via .NET
Last active March 4, 2024 06:40
Aspose.PSD for Python via .NET
Gist for Aspose.PSD for Python
// Enable Exporters in your initilizing module
Aspose.PSD.Adapters.Imaging.EnableExporters();
// Load PSD, PSB or AI File using Aspose.PSD
using (var img = Aspose.PSD.Image.Load("MyPsdFile.psd"))
{
// Create Save options of Adaptee
var webpSaveOptions = new Aspose.Imaging.ImageOptions.WebPOptions();
img.Save(@"outputPath.webp", webpSaveOptions);
Gist for Aspose.PSD for Java.