lsolesen\pel\PelTiff::loadFile PHP Method

loadFile() public method

Load data from a file into a TIFF object.
public loadFile ( string $filename )
$filename string the filename. This must be a readable file.
    public function loadFile($filename)
    {
        $this->load(new PelDataWindow(file_get_contents($filename)));
    }