Imagick::scaleImage
(No version information available, might be only in CVS)
Imagick::scaleImage — Scales the size of an image
说明
bool Imagick::scaleImage
( int $cols
, int $rows
)
Warning
æœ¬å‡½æ•°æš‚æ— æ–‡æ¡£ï¼Œä»…æœ‰å‚æ•°åˆ—表。
Warning
本函数是实验性的。本函数的行为,包括函数å称以åŠå…¶å®ƒä»»ä½•关于本函数的文档å¯èƒ½ä¼šåœ¨æ²¡æœ‰é€šçŸ¥çš„æƒ…å†µä¸‹éš PHP 以åŽçš„å‘布而改å˜ã€‚使用本函数风险自担。
Scales the size of an image to the given dimensions. The other parameter will be calculated if 0 is passed as either param.
傿•°
- cols
-
- rows
-
返回值
Returns TRUE on success.