Free Support Forum -

Convert PSD failed with error "Parameter is not valid"

Convert a PSD file to PDF failed with error message “Parameter is not valid”, here attached the PSD file: (223.2 KB)


I have worked with source file and have been able to convert to PDF. I have also shared my sample code and generated result with you for your kind reference. Can you please try to use Aspose.Imaging 18.9 on your end to achieve result. Please check attachment.420x365PSD.pdf (52.4 KB)

using (Aspose.Imaging.Image image = Aspose.Imaging.Image.Load(path + “420x365PSD.psd”))
PsdImage psdImage = (Aspose.Imaging.FileFormats.Psd.PsdImage)image;
PdfOptions exportOptions = new PdfOptions();
exportOptions.PdfDocumentInfo = new Aspose.Imaging.FileFormats.Pdf.PdfDocumentInfo();

  		psdImage.Save(path + "420x365PSD.pdf", exportOptions);