编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « HaruImage::getSize
  • HaruImage::setColorMask »
  • PHP Manual
  • HaruImage
  • Get the width of the image

HaruImage::getWidth

(PECL haru >= 0.0.1)

HaruImage::getWidth — Get the width of the image

说明

HaruImage::getWidth ( void ) : int

Get the width of the image.

参数

此函数没有参数。

返回值

Returns the width of the image.

错误/异常

发生错误时抛出 HaruException 异常。

相关文章
php gd 和图像处理 函数 scale an image using the given new width and heightphp pdf 函数 get image width deprecated php gmagick extracts a region of the imagephp gmagick gamma corrects an imagephp gmagick gets the image gammaphp gmagick gets the image units of resolutionphp gmagick returns the width of the imagephp gmagick replaces the colors of an image with the closest color from a reference imagephp gmagick radial blurs an imagephp gmagick sets the interlace scheme of the imagephp gmagick strips an image of all profiles and commentsphp harudoc load png image and return haruimage instancephp haruimage get the number of bits used to describe each color component of the imagephp haruimage get the height of the imagephp haruimage get size of the imagephp haruimage get the width of the imagephp haruimage set the color mask of the imagephp haruimage set the image maskphp harupage get the width of the pagephp imagick returns the image width
关注编程学问公众号
编程学问网 湘ICP备20001732号