Convert Simple HTML into PNG or GIF?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
howa

Convert Simple HTML into PNG or GIF?

Post by howa »

Any method can convert a simple HTML(only contains simple tags such as
p, b, i, u) to PNG or GIF?

thanks.




p.s. I originally tried to send this message to the mailing list, but was blocked:

ERM_FAILURE: SMTP Error (state 8): 554 5.7.1 Rejected 64.233.184.237 found in spam.dnsbl.sorbs.net

But I am using Gmail, so a lot of users also being blocked?
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Convert Simple HTML into PNG or GIF?

Post by el_supremo »

so a lot of users also being blocked?

Yes, my ISP is also blocked because it's still on SORBS. I can still receive the messages from the email list but can't post/reply directly to the list.

Pete
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Convert Simple HTML into PNG or GIF?

Post by anthony »

Ignoring the mail problem....
if you have "html2ps" installed as well as ghostscript, IM will use those 'delegates' and convert the html into an image

Code: Select all

   convert -density 72 text.html page.png
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply