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.

Blank image with 1.6.2 version

See original GitHub issue

Since I updated to 1.6.2, everytime I get a screenshot I get only a blank image. I was checking the last commits and I saw it was changed the way to clone nodes.

Expected Behavior

With previous version I got a correct screenshot.

Current Behavior

If I update to 1.6.2, automatically I get blank screenshot.

This is how i got the screenshot since I installed the package.

const element = document.querySelector(identifier)

const params = {
    pixelRatio: 1,
    quality: 1
}

toJpeg(element, params).then(dataUrl => {
    // I have here my image in base64
}).catch(() => {
   // throw error
})

Thank you.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Davids89commented, Oct 13, 2021

@vannyle I downgraded the version to 1.6.1 to fix it temporary.

0reactions
vivcat[bot]commented, Dec 18, 2022

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ax render gives blank image · Issue #1167 - GitHub
runs without any error or warning, but gives a blank output image. There are two relevant posts, but none of the solutions work...
Read more >
libpng Home Page
libpng is the official PNG reference library. It supports almost all PNG features, is extensible, and has been extensively tested for over 23...
Read more >
Docker Compose release notes
Missing images will no longer stop the execution of docker-compose down commands. A warning is now displayed instead. Force virtualenv version for macOS...
Read more >
Fixed issues in prior versions of Photoshop - Adobe Support
Photoshop 24.0 crashes when opening images (Move tool) ... Photoshop document window is empty/blank if the Precise Color Management for HDR ...
Read more >
Taskbar for Windows - Swivel Knowledgebase
Version 1.6.2 Ensures that the image is always visible, if the screen the image was previously shown on has been detached.
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