Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
string outputFileTemplate = Path.Combine(outputFolder, "converted-page-{0}.psd");
SavePageStream getPageStream = page => new FileStream(string.Format(outputFileTemplate, page), FileMode.Create);
using (Converter converter = new Converter("sample.jpeg"))
ImageConvertOptions options = new ImageConvertOptions
Format = ImageFileType.Psd
converter.Convert(getPageStream, options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.