Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Convert HTML to image

Answer:

Firstly, you need to install html2ps

# sudo apt-get install html2ps

Then install the ImageMagick

# sudo apt-get install imagemagick

Finally run the command:

# convert -density 72 input.html output.png

  1. Combine multiple images into a single image with ImageMagick
  2. Create a transparent image using ImageMagick
  3. Convert Windows text file to UNIX format without dos2unix
  4. Convert DOS newlines to Unix format
  5. Convert a Nero .nrg file to .iso file

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>