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

        imagepalettecopy($this->canvas, $source);
    }