I’m trying to load and PNG/JPEG image and insert it on a layer of the PSD. I cannot however load the image. With the Aspose.Image library I can load the file without any problem but with the JpegImage class from the Aspose.Psd namespace I got an exception and the file format is undefined. I’m using the Aspose.PSD version 18.10.0. I am using the example ImportImageToPSDLayer but instead of filling the layer with solid color I want to insert an image.