News for hackers. Stuff that matters.
Re:Show HN: I created snapDOM to capture DOM nodes as images... by simonw on Sunday April 27, 2025 @08:38PM (#43816417)
Tiny feature request: snapdom.toJpg(el) appears to return a JPEG image where the background color for any transparent areas is set to black - it would be useful to be able to set that to another color (I needed it to be white).
Re:Show HN: I created snapDOM to capture DOM nodes as images... by tinchox6 on Sunday April 27, 2025 @11:59PM (#43817396)
No problem! May you open an issue on the repo?
Re:Show HN: I created snapDOM to capture DOM nodes as images... by simonw on Monday April 28, 2025 @01:59AM (#43818082)