public void OpenAndSave(string psdName)
{
using (PsdImage image = (PsdImage)Image.Load(Server.MapPath(psdName), new PsdLoadOptions() { ReadOnlyMode = true }))
{
var lic = new Aspose.PSD.License();
lic.SetLicense("Aspose.Total.Product.Family.lic");
image.FlattenImage();
PngOptions pngOptions = new PngOptions();
image.Save(Server.MapPath("ABC323433.png"), pngOptions);
}
}
psd file :
http://www.youheyuanpin.com/update-newpsd2.psd