title: How to convert html & css to an image?
body: <p>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.</p>
  
  <p>Preferably I'm looking for a server-side solution, as posting an image from the client could take some time. </p>
  
  <p>I found this: <a href="https://code.google.com/p/java-html2image/" rel="noreferrer">https://code.google.com/p/java-html2image/</a> but unfortunately I can only use php, ruby or client-side technologies.</p>