Convert eps to psd
Contents
[
Hide
]
Using Aspose.Imaging we can convert eps file to Psd.
The following code snippet shows you how to convert Eps to Psd.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Aspose.Imaging; | |
using Aspose.Imaging.FileFormats.Eps; | |
using Aspose.Imaging.ImageOptions; | |
using System.IO; | |
string templatesFolder = @"c:\Users\USER\Downloads\templates\"; | |
string dataDir = templatesFolder; | |
using (var image = Image.Load(dataDir + "template.eps") as EpsImage) | |
{ | |
PsdOptions options = new PsdOptions(); | |
image.Save(dataDir + "result.psd", options); | |
} | |
File.Delete(dataDir + "result.psd"); |