php ile bir resme html metin dönüştürme

0 Cevap php

what's the best way to convert a text embedded in a html tag to an image using php keeping the style written in the html tag ? for example :

dönüştürmek:

<span class="Apple-style-span" style="font-size: xx-large;"><font class="Apple-style-span" color="#F4A460">Stack </font><font class="Apple-style-span" color="#800000">Overflow</font></span>

into : alt text

Bunun için herhangi bir sınıf var mı? ya da ben o patlayacak ve Etiketleri tek tek okunması gerekir? Herhangi bir öneri?

0 Cevap