public function jpegToWbmp(String $jpegFile, String $wbmpFile, Array $settings = []) : Bool
    {
        if( is_file($jpegFile) )
        {
            $height    = $settings['height']    ?? $this->height    ?? 0;
            $width     = $settings['width']     ?? $this->width     ?? 0;
            $threshold = $settings['threshold'] ?? $this->threshold ?? 0;

            $this->defaultRevolvingVariables();

            return jpeg2wbmp($jpegFile, $wbmpFile, $height, $width, $threshold);
        }
        else
        {
            return false;
        }
    }
public function jpegToWbmp(String $jpegFile, String $wbmpFile, Array $settings = []) : Bool
    {
        if( is_file($jpegFile) )
        {
            $height    = $settings['height']    ?? $this->height    ?? 0;
            $width     = $settings['width']     ?? $this->width     ?? 0;
            $threshold = $settings['threshold'] ?? $this->threshold ?? 0;

            $this->defaultRevolvingVariables();

            return jpeg2wbmp($jpegFile, $wbmpFile, $height, $width, $threshold);
        }
        else
        {
            return false;
        }
    }
public function jpegToWbmp ( String $ jpegFile , String $ wbmpFile , Array $ settings = [ ] ) : Bool { if ( is_file ( $ jpegFile ) ) { $ height = $ settings [ 'height' ] ?? $ this -> height ?? 0 ; $ width = $ settings [ 'width' ] ?? $ this -> width ?? 0 ; $ threshold = $ settings [ 'threshold' ] ?? $ this -> threshold ?? 0 ; $ this -> defaultRevolvingVariables ( ) ; return jpeg2wbmp ( $ jpegFile , $ wbmpFile , $ height , $ width , $ threshold ) ; } else { return false ; } }
JPEG to WBMP

@param string $pngFile
@param string $wbmpFile
@param array  $settings = []

@return bool
JPEG to WBMP