Image/Adapter/Gd2.php
public function open($filename)
    {
        $pathInfo = pathinfo($filename);
        if (!key_exists('extension', $pathInfo) || !in_array($pathInfo['extension'], $this->settings->getExtraFiletypes())) {
            parent::open($filename);
        }
    }
public function open($filename)
    {
        $pathInfo = pathinfo($filename);
        if (!key_exists('extension', $pathInfo) || !in_array($pathInfo['extension'], $this->settings->getExtraFiletypes())) {
            parent::open($filename);
        }
    }
public function open ( $ filename ) { $ pathInfo = pathinfo ( $ filename ) ; if ( ! key_exists ( 'extension' , $ pathInfo ) || ! in_array ( $ pathInfo [ 'extension' ] , $ this -> settings -> getExtraFiletypes ( ) ) ) { parent :: open ( $ filename ) ; } }
Open image for processing

@param string $filename
@return void
@throws \OverflowException
Open image for processing