public function hasTransparentColor()
    {
        if ($this->graphicsControlExtension) {
            $byte = substr($this->graphicsControlExtension, 1, 1);
            $byte = unpack('C', $byte)[1];
            $bit = $byte & bindec('00000001');

            return (bool) $bit;
        }

        return false;
    }
public function hasTransparentColor()
    {
        if ($this->graphicsControlExtension) {
            $byte = substr($this->graphicsControlExtension, 1, 1);
            $byte = unpack('C', $byte)[1];
            $bit = $byte & bindec('00000001');

            return (bool) $bit;
        }

        return false;
    }
public function hasTransparentColor ( ) { if ( $ this -> graphicsControlExtension ) { $ byte = substr ( $ this -> graphicsControlExtension , 1 , 1 ) ; $ byte = unpack ( 'C' , $ byte ) [ 1 ] ; $ bit = $ byte & bindec ( '00000001' ) ; return ( bool ) $ bit ; } return false ; }
Determines if instance has transparent colors

@return boolean
Determines if instance has transparent colors