编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::setImageFilename
  • Imagick::setImageGamma »
  • PHP Manual
  • Imagick
  • 为图片设置指定的格式

Imagick::setImageFormat

(PECL imagick 2.0.0)

Imagick::setImageFormat — 为图片设置指定的格式

说明

Imagick::setImageFormat ( string $format ) : bool

为图片设置指定的格式

参数

format

表示图片格式的一个字符串。支持的格式依赖于 ImageMagick 的安装。

返回值

成功时返回 TRUE。

相关文章
php 关于本手册 如何生成手册的各种格式php gd 和图像处理 函数 设置标记以在保存 png 图像时保存完整的 alpha 通道信息(与单一透明色相反)php 字符串 函数 根据指定格式解析输入的字符php xml 解析器函数 为指定 xml 解析进行选项设置php imagick 截图图片的一块区域php imagick 把 imagickdraw 对象渲染到当前图片上php imagick returns the size associated with the imagick objectphp imagick descriptionphp imagick 创建一张图片php imagick moves to the next imagephp imagick adds or removes a profile from an imagephp imagick 从二进制字符串里读取图片php imagick removes an image from the image listphp imagick separates a channel from the imagephp imagick 设置图片压缩的类型php imagick 设置图片压缩的质量php imagick 为图片设置指定的格式php imagick 去掉图片的所有配置和设置php imagick 把图片写入指定的文件php seaslog 设置 seaslog 日期格式
关注编程学问公众号
编程学问网 湘ICP备20001732号