略微加速
PHP官方手册 - 互联网笔记
首页
IT
PHP手册
Elasticsearch
SVN手册
互联网
博客
登陆
注册
PHP - Manual: Gmagick
2025-04-01
简介 »
« GdFont
PHP 手册
函数参考
图像生成和处理
Gmagick
简介
安装/配置
需求
安装
预定义常量
示例
Gmagick
— The Gmagick class
Gmagick::addimage
— Adds new image to Gmagick object image list
Gmagick::addnoiseimage
— Adds random noise to the image
Gmagick::annotateimage
— Annotates an image with text
Gmagick::blurimage
— Adds blur filter to image
Gmagick::borderimage
— Surrounds the image with a border
Gmagick::charcoalimage
— Simulates a charcoal drawing
Gmagick::chopimage
— Removes a region of an image and trims
Gmagick::clear
— Clears all resources associated to Gmagick object
Gmagick::commentimage
— Adds a comment to your image
Gmagick::compositeimage
— Composite one image onto another
Gmagick::__construct
— The Gmagick constructor
Gmagick::cropimage
— Extracts a region of the image
Gmagick::cropthumbnailimage
— Creates a crop thumbnail
Gmagick::current
— The current purpose
Gmagick::cyclecolormapimage
— Displaces an image's colormap
Gmagick::deconstructimages
— Returns certain pixel differences between images
Gmagick::despeckleimage
— The despeckleimage purpose
Gmagick::destroy
— The destroy purpose
Gmagick::drawimage
— Renders the GmagickDraw object on the current image
Gmagick::edgeimage
— Enhance edges within the image
Gmagick::embossimage
— Returns a grayscale image with a three-dimensional effect
Gmagick::enhanceimage
— Improves the quality of a noisy image
Gmagick::equalizeimage
— Equalizes the image histogram
Gmagick::flipimage
— Creates a vertical mirror image
Gmagick::flopimage
— Creates a horizontal mirror image
Gmagick::frameimage
— Adds a simulated three-dimensional border
Gmagick::gammaimage
— Gamma-corrects an image
Gmagick::getcopyright
— Returns the GraphicsMagick API copyright as a string
Gmagick::getfilename
— The filename associated with an image sequence
Gmagick::getimagebackgroundcolor
— Returns the image background color
Gmagick::getimageblueprimary
— Returns the chromaticy blue primary point
Gmagick::getimagebordercolor
— Returns the image border color
Gmagick::getimagechanneldepth
— Gets the depth for a particular image channel
Gmagick::getimagecolors
— Returns the color of the specified colormap index
Gmagick::getimagecolorspace
— Gets the image colorspace
Gmagick::getimagecompose
— Returns the composite operator associated with the image
Gmagick::getimagedelay
— Gets the image delay
Gmagick::getimagedepth
— Gets the depth of the image
Gmagick::getimagedispose
— Gets the image disposal method
Gmagick::getimageextrema
— Gets the extrema for the image
Gmagick::getimagefilename
— Returns the filename of a particular image in a sequence
Gmagick::getimageformat
— Returns the format of a particular image in a sequence
Gmagick::getimagegamma
— Gets the image gamma
Gmagick::getimagegreenprimary
— Returns the chromaticy green primary point
Gmagick::getimageheight
— Returns the image height
Gmagick::getimagehistogram
— Gets the image histogram
Gmagick::getimageindex
— Gets the index of the current active image
Gmagick::getimageinterlacescheme
— Gets the image interlace scheme
Gmagick::getimageiterations
— Gets the image iterations
Gmagick::getimagematte
— Check if the image has a matte channel
Gmagick::getimagemattecolor
— Returns the image matte color
Gmagick::getimageprofile
— Returns the named image profile
Gmagick::getimageredprimary
— Returns the chromaticity red primary point
Gmagick::getimagerenderingintent
— Gets the image rendering intent
Gmagick::getimageresolution
— Gets the image X and Y resolution
Gmagick::getimagescene
— Gets the image scene
Gmagick::getimagesignature
— Generates an SHA-256 message digest
Gmagick::getimagetype
— Gets the potential image type
Gmagick::getimageunits
— Gets the image units of resolution
Gmagick::getimagewhitepoint
— Returns the chromaticity white point
Gmagick::getimagewidth
— Returns the width of the image
Gmagick::getpackagename
— Returns the GraphicsMagick package name
Gmagick::getquantumdepth
— Returns the Gmagick quantum depth as a string
Gmagick::getreleasedate
— Returns the GraphicsMagick release date as a string
Gmagick::getsamplingfactors
— Gets the horizontal and vertical sampling factor
Gmagick::getsize
— Returns the size associated with the Gmagick object
Gmagick::getversion
— Returns the GraphicsMagick API version
Gmagick::hasnextimage
— Checks if the object has more images
Gmagick::haspreviousimage
— Checks if the object has a previous image
Gmagick::implodeimage
— Creates a new image as a copy
Gmagick::labelimage
— Adds a label to an image
Gmagick::levelimage
— Adjusts the levels of an image
Gmagick::magnifyimage
— Scales an image proportionally 2x
Gmagick::mapimage
— Replaces the colors of an image with the closest color from a reference image
Gmagick::medianfilterimage
— Applies a digital filter
Gmagick::minifyimage
— Scales an image proportionally to half its size
Gmagick::modulateimage
— Control the brightness, saturation, and hue
Gmagick::motionblurimage
— Simulates motion blur
Gmagick::newimage
— Creates a new image
Gmagick::nextimage
— Moves to the next image
Gmagick::normalizeimage
— Enhances the contrast of a color image
Gmagick::oilpaintimage
— Simulates an oil painting
Gmagick::previousimage
— Move to the previous image in the object
Gmagick::profileimage
— Adds or removes a profile from an image
Gmagick::quantizeimage
— Analyzes the colors within a reference image
Gmagick::quantizeimages
— The quantizeimages purpose
Gmagick::queryfontmetrics
— Returns an array representing the font metrics
Gmagick::queryfonts
— Returns the configured fonts
Gmagick::queryformats
— Returns formats supported by Gmagick
Gmagick::radialblurimage
— Radial blurs an image
Gmagick::raiseimage
— Creates a simulated 3d button-like effect
Gmagick::read
— Reads image from filename
Gmagick::readimage
— Reads image from filename
Gmagick::readimageblob
— Reads image from a binary string
Gmagick::readimagefile
— The readimagefile purpose
Gmagick::reducenoiseimage
— Smooths the contours of an image
Gmagick::removeimage
— Removes an image from the image list
Gmagick::removeimageprofile
— Removes the named image profile and returns it
Gmagick::resampleimage
— Resample image to desired resolution
Gmagick::resizeimage
— Scales an image
Gmagick::rollimage
— Offsets an image
Gmagick::rotateimage
— Rotates an image
Gmagick::scaleimage
— Scales the size of an image
Gmagick::separateimagechannel
— Separates a channel from the image
Gmagick::setCompressionQuality
— Sets the object's default compression quality
Gmagick::setfilename
— Sets the filename before you read or write the image
Gmagick::setimagebackgroundcolor
— Sets the image background color
Gmagick::setimageblueprimary
— Sets the image chromaticity blue primary point
Gmagick::setimagebordercolor
— Sets the image border color
Gmagick::setimagechanneldepth
— Sets the depth of a particular image channel
Gmagick::setimagecolorspace
— Sets the image colorspace
Gmagick::setimagecompose
— Sets the image composite operator
Gmagick::setimagedelay
— Sets the image delay
Gmagick::setimagedepth
— Sets the image depth
Gmagick::setimagedispose
— Sets the image disposal method
Gmagick::setimagefilename
— Sets the filename of a particular image in a sequence
Gmagick::setimageformat
— Sets the format of a particular image
Gmagick::setimagegamma
— Sets the image gamma
Gmagick::setimagegreenprimary
— Sets the image chromaticity green primary point
Gmagick::setimageindex
— Set the iterator to the position in the image list specified with the index parameter
Gmagick::setimageinterlacescheme
— Sets the interlace scheme of the image
Gmagick::setimageiterations
— Sets the image iterations
Gmagick::setimageprofile
— Adds a named profile to the Gmagick object
Gmagick::setimageredprimary
— Sets the image chromaticity red primary point
Gmagick::setimagerenderingintent
— Sets the image rendering intent
Gmagick::setimageresolution
— Sets the image resolution
Gmagick::setimagescene
— Sets the image scene
Gmagick::setimagetype
— Sets the image type
Gmagick::setimageunits
— Sets the image units of resolution
Gmagick::setimagewhitepoint
— Sets the image chromaticity white point
Gmagick::setsamplingfactors
— Sets the image sampling factors
Gmagick::setsize
— Sets the size of the Gmagick object
Gmagick::shearimage
— Creating a parallelogram
Gmagick::solarizeimage
— Applies a solarizing effect to the image
Gmagick::spreadimage
— Randomly displaces each pixel in a block
Gmagick::stripimage
— Strips an image of all profiles and comments
Gmagick::swirlimage
— Swirls the pixels about the center of the image
Gmagick::thumbnailimage
— Changes the size of an image
Gmagick::trimimage
— Remove edges from the image
Gmagick::write
— 别名 Gmagick::writeimage
Gmagick::writeimage
— Writes an image to the specified filename
GmagickDraw
— The GmagickDraw class
GmagickDraw::annotate
— Draws text on the image
GmagickDraw::arc
— Draws an arc
GmagickDraw::bezier
— Draws a bezier curve
GmagickDraw::ellipse
— Draws an ellipse on the image
GmagickDraw::getfillcolor
— Returns the fill color
GmagickDraw::getfillopacity
— Returns the opacity used when drawing
GmagickDraw::getfont
— Returns the font
GmagickDraw::getfontsize
— Returns the font pointsize
GmagickDraw::getfontstyle
— Returns the font style
GmagickDraw::getfontweight
— Returns the font weight
GmagickDraw::getstrokecolor
— Returns the color used for stroking object outlines
GmagickDraw::getstrokeopacity
— Returns the opacity of stroked object outlines
GmagickDraw::getstrokewidth
— Returns the width of the stroke used to draw object outlines
GmagickDraw::gettextdecoration
— Returns the text decoration
GmagickDraw::gettextencoding
— Returns the code set used for text annotations
GmagickDraw::line
— Draws a line
GmagickDraw::point
— Draws a point
GmagickDraw::polygon
— Draws a polygon
GmagickDraw::polyline
— Draws a polyline
GmagickDraw::rectangle
— Draws a rectangle
GmagickDraw::rotate
— Applies the specified rotation to the current coordinate space
GmagickDraw::roundrectangle
— Draws a rounded rectangle
GmagickDraw::scale
— Adjusts the scaling factor
GmagickDraw::setfillcolor
— Sets the fill color to be used for drawing filled objects
GmagickDraw::setfillopacity
— The setfillopacity purpose
GmagickDraw::setfont
— Sets the fully-specified font to use when annotating with text
GmagickDraw::setfontsize
— Sets the font pointsize to use when annotating with text
GmagickDraw::setfontstyle
— Sets the font style to use when annotating with text
GmagickDraw::setfontweight
— Sets the font weight
GmagickDraw::setstrokecolor
— Sets the color used for stroking object outlines
GmagickDraw::setstrokeopacity
— Specifies the opacity of stroked object outlines
GmagickDraw::setstrokewidth
— Sets the width of the stroke used to draw object outlines
GmagickDraw::settextdecoration
— Specifies a decoration
GmagickDraw::settextencoding
— Specifies the text code set
GmagickPixel
— The GmagickPixel class
GmagickPixel::__construct
— The GmagickPixel constructor
GmagickPixel::getcolor
— Returns the color
GmagickPixel::getcolorcount
— Returns the color count associated with this color
GmagickPixel::getcolorvalue
— Gets the normalized value of the provided color channel
GmagickPixel::setcolor
— Sets the color
GmagickPixel::setcolorvalue
— Sets the normalized value of one of the channels
发现了问题?
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
官方地址:
https://www.php.net/manual/en/book.gmagick.php
有任何技术问题请点击这里
网站运营推广招聘
IT
PHP
编程语言
开发编程
Linux
科技
Elasticsearch
HTML/CSS/XML
面试
数据库
网络
JAVA
NoSQL
C/C++
Golang
Git
算法
操作系统
正则表达式
Redis
互联网
MySql
JavaScript
运维
软件
国际
架构设计
Mac OS
TCP/IP
Excel
Windows
Vim
Socket
Oracle
VR
MongoDB
Python
运营
MemCache
商业
硬件
电子
娱乐
设计
nginx
摄影
游戏
WordPress
HTTP
团建
数码电器
Docker
广告
广告
laravel查看orm生成的sql
PHPStorm ESC 会退出命令行
laravel orm中DB::insert方法导致内存泄漏的问题解决方法
docker-compose启动nginx与php-fpm
composer install参数
php7 安装fileinfo扩展
php位值,解决 PHP 中 usort 在值相同时改变原始位置的问题
preg_split — 通过一个正则表达式分隔字符串
[PHP] inet_pton/inet_ntop IP地址转换函数
Composer的Packagist资源
[鸟哥]PHP_INT_MIN 和 -9223372036854775808
PHP json解析(json_decode)页面工具
opcache预加载
mysql面试题
PHP 8.1
ADORecordSet对象
adodb手册
支持php7的性能采集扩展
利用php soap实现web service
adodb连接mysql多个数据库的问题
联系我们
半月雨文化
可降解耗材网
蓝云环保
78免费小説
上海网站seo优化
工程造价
币安app官网下载
币安app官网下载
coinbase
贷款信息
seo查询
北京半月雨文化科技有限公司
.版权所有
京ICP备12026184号-3