略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Imagick::setFormat

2024-12-22

Imagick::setFormat

(PECL imagick 2, PECL imagick 3)

Imagick::setFormatSets the format of the Imagick object

说明

public Imagick::setFormat(string $format): bool

Sets the format of the Imagick object.

参数

format

返回值

成功时返回 true

add a noteadd a note

User Contributed Notes 3 notes

up
1
winmonaye at gmail dot com
6 years ago
You can only set format listed in $imgic->queryFormats() .
It can be different from http://www.imagemagick.org/script/formats.php .
up
1
scott at thebrain dot ca
13 years ago
don't confuse this function with setImageFormat()

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

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3