略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Imagick::resetImagePage

2024-04-28

Imagick::resetImagePage

(PECL imagick 2 >= 2.3.0, PECL imagick 3)

Imagick::resetImagePageReset image page

说明

public Imagick::resetImagePage(string $page): bool

The page definition as a string. The string is in format WxH+x+y. 此方法在Imagick基于ImageMagick 6.3.6以上版本编译时可用。

参数

page

The page definition. For example 7168x5147+0+0

返回值

成功时返回 true

add a noteadd a note

User Contributed Notes 1 note

up
1
Roman T.
9 years ago
This function seems to do the same thing as photoshop feture convas size, you set size of convas and position of your image's top left corner (x,y) inside that convas.

官方地址:https://www.php.net/manual/en/imagick.resetimagepage.php

冷却塔厂家 广告
中文GPT4.0无需注册 广告
北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3