RasterImageNormalizeAngle Method (Boolean, Color)
Normalizes the angle. This method is applicable to scanned text documents to get rid of the skewed scan. This method uses GetSkewAngle and Rotate(Single, Boolean, Color) methods.

Namespace: Aspose.PSD
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 20.6
Syntax
public virtual void NormalizeAngle(
	bool resizeProportionally,
	Color backgroundColor
)

Parameters

resizeProportionally
Type: SystemBoolean
if set to true you will have your image size changed according to rotated rectangle (corner points) projections in other case that leaves dimensions untouched and only internal image contents are rotated.
backgroundColor
Type: Aspose.PSDColor
Color of the background.
See Also