We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to save BitmapSource to new psd file? (c#)

private static void SavePsd(string path, BitmapSource src)
{
//put src in new psd file asd save it
}
As you can see I have no idea how to do it.
Pleace help.

You are too slow!

I already have solution:

private static void SavePsd(string path, RenderTargetBitmap rtBitmap)
{
BitmapEncoder encoder = new TiffBitmapEncoder();
encoder.Frames.Add(BitmapFrame.Create(rtBitmap));

System.IO.Stream strm = new System.IO.MemoryStream();
encoder.Save(strm);
strm.Position = 0;
Aspose.Imaging.Image image = Aspose.Imaging.Image.Load(strm);
image.Save(path, new Aspose.Imaging.SaveOptions.PsdSaveOptions());
}

Hi Macht59,


Please accept my apologies for the delayed response on this.

Its good to know that you have found a solution for your problem. Please also check the below linked technical article for your reference.
http://docs.aspose.com/display/imagingnet/Exporting+Image+to+PSD

In case you have further questions, please feel free to write back. Thank you