HaruDoc::loadJPEG
(PECL haru:0.0.1)
HaruDoc::loadJPEG — Load JPEG image and return new HaruImage instance
说明
object HaruDoc::loadJPEG
( string $filename
)
Loads the specified JPEG image and returns new
HaruImage instance.
参数
-
filename
-
A valid JPEG image file.
错误/异常
Throws HaruException on error.