The Imagick class
PHP Manual

Imagick::deskewImage

(No version information available, might only be in SVN)

Imagick::deskewImageRemoves skew from the image

Description

public void Imagick::deskewImage ( float $threshold )

This method can be used to remove skew from for example scanned images where the paper was not properly placed on the scanning surface. This method is available if Imagick has been compiled against ImageMagick version 6.4.5 or newer.

Parameters

threshold

Deskew threshold

Return Values


The Imagick class
PHP Manual