question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to save the html in landscape? <center><h1>Visitor</h1><h1>NAME: Walter Shub</h1><img src="data:image/png;base64,${image}" width="600" height="600" /></center>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:6

github_iconTop GitHub Comments

3reactions
euZebecommented, Feb 5, 2021

It seems like just switching width and height do the trick:

  const options: Options = {
    html: MyHTMLContent,
    fileName: myDocName,
    directory: myDirectory,
    base64: true,
    width: 792,
    height: 612,
  }
0reactions
J0ANGARFLOcommented, Feb 7, 2021

It seems like just switching width and height do the trick:

  const options: Options = {
    html: MyHTMLContent,
    fileName: myDocName,
    directory: myDirectory,
    base64: true,
    width: 792,
    height: 612,
  }

Thanks this is the solution

Read more comments on GitHub >

github_iconTop Results From Across the Web

Landscape - Wikipedia
A landscape is the visible features of an area of land, its landforms, and how they integrate with natural or man-made features, often...
Read more >
Landscape Definition & Meaning - Merriam-Webster
1 of 3. noun. land·​scape ˈlan(d)-ˌskāp. often attributive. 1. a. : a picture representing a view of natural inland scenery · 2 of...
Read more >
LANDSCAPE | definition in the Cambridge English Dictionary
to change the appearance of an area of land, esp. by planting trees, flowers, and other plants: The park was beautifully landscaped.
Read more >
80 Landscaping Ideas to Create an Enchanting Outdoor Space
Thoughtful landscape design is the key to creating an outdoor oasis. From unexpected florals to canopied pathways, let these 80 landscaping ...
Read more >
200000+ Best Landscape Images & Free HD Stock Photos
200,000+ beautiful landscape photos & stock images. Download your favorite royalty free landscape pictures in HD to 4K quality as wallpapers, backgrounds &...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found