Imagick::sampleImage
(No version information available, might be only in CVS)
Imagick::sampleImage — Scales an image with pixel sampling
说明
bool Imagick::sampleImage
( int $columns
, int $rows
)
Warning
æœ¬å‡½æ•°æš‚æ— æ–‡æ¡£ï¼Œä»…æœ‰å‚æ•°åˆ—表。
Warning
本函数是实验性的。本函数的行为,包括函数å称以åŠå…¶å®ƒä»»ä½•关于本函数的文档å¯èƒ½ä¼šåœ¨æ²¡æœ‰é€šçŸ¥çš„æƒ…å†µä¸‹éš PHP 以åŽçš„å‘布而改å˜ã€‚使用本函数风险自担。
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.
傿•°
- columns
-
- rows
-
返回值
Returns TRUE on success.