编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « HaruDoc::insertPage
  • HaruDoc::loadPNG »
  • PHP Manual
  • HaruDoc
  • Load a JPEG image

HaruDoc::loadJPEG

(PECL haru >= 0.0.1)

HaruDoc::loadJPEG — Load a JPEG image

说明

HaruDoc::loadJPEG ( string $filename ) : object

Loads the specified JPEG image.

参数

filename

A valid JPEG image file.

返回值

Returns a new HaruImage instance.

错误/异常

发生错误时抛出 HaruException 异常。

参见

  • HaruDoc::loadPNG() - Load PNG image and return HaruImage instance
  • HaruDoc::loadRAW() - Load a RAW image

相关文章
php pdf 函数 open jpeg image deprecated php gmagick annotates an image with textphp gmagick returns the image border colorphp gmagick gets the image interlace schemephp gmagick creates a new imagephp gmagick sets the depth of a particular image channelphp gmagick sets the image resolutionphp gmagick writes an image to the specified filenamephp harudoc get harufont instancephp harudoc load a jpeg imagephp harudoc load png image and return haruimage instancephp harudoc load a raw imagephp harudoc load the font with the specified index from ttc filephp harudoc load ttf font filephp harudoc load type1 fontphp harudoc save the document into the specified filephp harudoc enable builtin chinese traditional fontsphp imagick adds adaptive blur filter to imagephp imagick gets the depth for a particular image channelphp rrdgraph saves the result of query into image
关注编程学问公众号
编程学问网 湘ICP备20001732号