public function copyPalette($source)
    {
        if( ! is_resource($source) )
        {
            throw new InvalidArgumentException(NULL, '[resource]');
        }

        imagepalettecopy($this->canvas, $source);
    }
public function copyPalette($source)
    {
        if( ! is_resource($source) )
        {
            throw new InvalidArgumentException(NULL, '[resource]');
        }

        imagepalettecopy($this->canvas, $source);
    }
public function copyPalette ( $ source ) { if ( ! is_resource ( $ source ) ) { throw new InvalidArgumentException ( NULL , '[resource]' ) ; } imagepalettecopy ( $ this -> canvas , $ source ) ; }
Get copy palette

@param resource $source

@return resource
Get copy palette