// For complete examples and data files, please go to https://github.com/aspose-psd/Aspose.PSD-for-.NET // Export of the psd with complex mask string sourceFileName = dataDir + "MaskComplex.psd"; string exportPath = dataDir + "MaskComplex.png"; using (var im = (PsdImage)Image.Load(sourceFileName)) { // Export to PNG var saveOptions = new PngOptions(); saveOptions.ColorType = PngColorType.TruecolorWithAlpha; im.Save(exportPath, saveOptions); }