JavaScript Editor Javascript debugger     Website design 

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.

Parameters

filename

A valid JPEG image file.

Errors/Exceptions

Throws HaruException on error.