public function checkImageFixedSize($fixedSize)
    {
        if (!$this->isImage()) {
            return true;
        }

        $originalImageMeta = $this->getImageMeta(FileModule::PROCESSOR_NAME_ORIGINAL);
        $originalImageMeta->checkFixedSize((int) $fixedSize[0], (int) $fixedSize[1]);

        if ($originalImageMeta->hasErrors()) {
            return false;
        }

        return true;
    }
public function checkImageFixedSize($fixedSize)
    {
        if (!$this->isImage()) {
            return true;
        }

        $originalImageMeta = $this->getImageMeta(FileModule::PROCESSOR_NAME_ORIGINAL);
        $originalImageMeta->checkFixedSize((int) $fixedSize[0], (int) $fixedSize[1]);

        if ($originalImageMeta->hasErrors()) {
            return false;
        }

        return true;
    }
public function checkImageFixedSize ( $ fixedSize ) { if ( ! $ this -> isImage ( ) ) { return true ; } $ originalImageMeta = $ this -> getImageMeta ( FileModule :: PROCESSOR_NAME_ORIGINAL ) ; $ originalImageMeta -> checkFixedSize ( ( int ) $ fixedSize [ 0 ] , ( int ) $ fixedSize [ 1 ] ) ; if ( $ originalImageMeta -> hasErrors ( ) ) { return false ; } return true ; }
Checks if the file's image is of the given size or ratio

@param array(integer, integer) $fixedSize
@return bool
Checks if the file s image is of the given size or ratio