I'm developing an ecard-maker (I know it's awful, not my idea...). Is there any way to convert html and css of a specific dom-element to an image without using flash? I know there is image magick and the like, but it seems to be quite complicated to align and order the text properly.
Preferably I'm looking for a server-side solution, as posting an image from the client could take some time.
I found this: https://code.google.com/p/java-html2image/ but unfortunately I can only use php, ruby or client-side technologies.