*TOOLS/HTMLIMAGE: Generate an Image of a Web Page
Invocation
CALL "*tools/htmlimage", ERR=stmtref,url$,imgFile$[,imgWidth,imgHeight]
Where:
url$ | URL to the Web page or HTML file whose image is to be generated. The following can apply: |
imgFile$ | Path of the image file to be generated. It must include the image file suffix (i.e. .jpg, .png, .bmp). |
imgWidth | Optional dimensions (in pixels) of the Web page image. If not specified, dimensions will default to 800 pixels wide by 600 pixels high. |
stmtref | Error transfer. Most errors result in an Error #201 with specific error messages. |
Description
The "*tools/htmlimage" utility allows you to generate an image file (.png, .jpg, .bmp) based on a URL, whether it is a website reference (starts with http:// or https://) or a reference to an HTML file (starts with file:///).