I’m trying to convert svg text to image using imagettftext function but it prints the text itself instead of the signature
$signed = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzM0LjQgMTQ4LjgiIHdpZHRoPSIzMzQuNCIgaGVpZ2h0PSIxNDguOCI+PHBhdGggZD0iTSAyMDMuNzM3LDQ4LjY1MCBDIDE4My43NjgsNTMuOTcyIDE4My43MzcsNTMuODUwIDE2My43MzcsNTkuMDUwIiBzdHJva2Utd2lkdGg9IjQuMzAxIiBzdHJva2U9ImJsYWNrIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvcGF0aD48cGF0aCBkPSJNIDE2My43MzcsNTkuMDUwIEMgMTU1LjIxMCw2MC42NDggMTU1LjM2OCw2MS4xNzIgMTQ2LjkzOCw2My4wNTAiIHN0cm9rZS13aWR0aD0iMy4xMTkiIHN0cm9rZT0iYmxhY2siIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0gMTQ2LjkzOCw2My4wNTAgQyAxNDIuODgxLDY0LjUyNSAxNDIuODEwLDY0LjI0OCAxMzguOTM4LDY2LjI1MCIgc3Ryb2tlLXdpZHRoPSIzLjUyNSIgc3Ryb2tlPSJibGFjayIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTSAxMzguOTM4LDY2LjI1MCBDIDEzNi42NjksNjguNjUwIDEzNi40ODEsNjcuMzI1IDEzNC4xMzgsNjguNjUwIiBzdHJva2Utd2lkdGg9IjQuMzUyIiBzdHJva2U9ImJsYWNrIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvcGF0aD48cGF0aCBkPSJNIDEzNC4xM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kPSJNIDYxLjMzOCwxMDEuNDUwIEMgNzkuNTk2LDk1LjY4NSA3OS44NTIsOTcuMDc0IDk4LjEzOCw5MS4wNTAiIHN0cm9rZS13aWR0aD0iMi4wMTgiIHN0cm9rZT0iYmxhY2siIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0gOTguMTM4LDkxLjA1MCBDIDExNy45MDMsODQuOTIzIDExNy45OTYsODYuMDg1IDEzOC4xMzgsODIuMjUwIiBzdHJva2Utd2lkdGg9IjEuNzQ1IiBzdHJva2U9ImJsYWNrIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvcGF0aD48L3N2Zz4=";
$text5 = $signed;
$origin_y5 = 1325;
$origin_x5 = 250;
imagettftext($image, $font_size, 0, $origin_x5, $origin_y5, $white, $font, $text5);
Is there a way to convert this into image?