// Prepare a path to a source HTML file
string documentPath = Path.Combine(DataDir, "nature.html");

// Prepare a path to save the converted file
string savePath = Path.Combine(OutputDir, "nature-output-options.png");

// Initialize an HTML document from the file
using var document = new HTMLDocument(documentPath);

// Initialize ImageSaveOptions
var options = new ImageSaveOptions()
{
    UseAntialiasing = false,
    HorizontalResolution = 100,
    VerticalResolution = 100,
    BackgroundColor = System.Drawing.Color.Beige
};

// Convert HTML to PNG
Converter.ConvertHTML(document, options, savePath);