Script or Tool to convert single page .html files to .png files

I am looking for a way using Opus - to convert single page .html files to .png files.

Maybe someone knows of a windows command line tool that I can call from a custom button to make the conversion a "select & click process".

I need a quality tool for high resolution conversions.

Any suggestions?

Thanks

You will probably need two tools: the first to convert the web page into a document, and the second to convert the document into an image.

These play well with Opus:

Pandoc – A universal document converter

ImageMagick – Mastering Digital Image Alchemy


Alternatively, you could use a browser and an extension that saves pages as images. Admittely, not very convenient for more than a few files.

GoFullPage - Full Page Screen Capture

As far as browser extensions, if you want image perfect capture stick with GoFullPage. If you're more leaning to a much smaller size' getting the text, getting clickable links and in a pdf format, try:

PrintFriendly

Thank you all.

I ended up writing a bat file and using wkhtmltoimage.

Next I need to learn how to create a menu button to call a bat file. I assume it will be much the same as for a exe file.

Anyway ... here is the bat file incase anyone finds it useful. Naturally you will need to replace my directory references with yoor own.

a65-Sample_Convert_html_folders_to_png.txt (2.9 KB)

@brupp are you referring to a local html file or are you talking about taking a screenshot from a given url, but using DOpus?
For the latter, you can use the https://htmlcsstoimage.com API from DO itself. It seems promising, at least in some tests I did. (And is free for up to 50 images per month)

I am refering to taking a HTML directory representing a screenshot and converting it to a single png file.

I have this problem because I am exporting notes from Evernote and they provide a single page HTML output option - so thjat is what I want to copnvert to a PNF.

In any case I will take a lok at the utility you suggested.

Thanks