Imagick
PHP Manual

Imagick::deskewImage

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

Imagick::deskewImageRemoves skew from the image

Description

public bool 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


Imagick
PHP Manual