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

Free Support Forum - aspose.com

Can't crop some PSD files using Aspose.Imaging dll v20.3 and the latest Aspose.psd dll

Hi Aspose team,
We can’t crop some PSD files using Aspose.Imaging dll v20.3. We also tried the latest Aspose.psd dll, it can’t crop PSD files, too.

Code demo:
Aspose.Imaging.FileFormats.Psd.PsdImage _image = Image.Load(sourcePath) as Aspose.Imaging.FileFormats.Psd.PsdImage;
_image.Crop(_croppedRect);
_image.Save(path);

Here’re the test files:

Downloads.zip (5.2 MB)

FYI, some PSD files can be cropped, but some can’t.

@Glority_Developer

Can you please explain the issue incurring on your end? Also for issues related to PSD, we have a different Aspose.PSD for .NET/Java API that you can try on your end. You can explore the documentation for your reference.

Thank. We also tried this code in Aspose.PSD for .NET but it can’t crop some PSD files. Should I create a ticket in Aspose.PSD forum?

@Glority_Developer

Yes, in order to address the PSD related issues, please share the issue in Aspose.PSD forum with all necessary details.