https://blog.aspose.com/psd/crop-rotate-psd-csharp/
Rotate or Crop PSD Image using C#