Imagick Image Library
PHP Manual

Imagick::sampleImage

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

Imagick::sampleImage — Scales an image with pixel sampling

Description

bool Imagick::sampleImage ( int $columns , int $rows )
Warning

This function is currently not documented; only the argument list is available.

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Scales an image to the desired dimensions with pixel sampling. Unlike other scaling methods, this method does not introduce any additional color into the scaled image.

Parameters

columns

rows

Return Values

Returns TRUE on success.


Imagick Image Library
PHP Manual