Skip to content

Support for screenshotting a specific node #5

Description

@tibotiber

Hi there, this is a nifty project and it really made adding browser-based screenshot to my app easy. So thanks!

I'm developing a WebGL (so canvas) based app and the "legacy" screenshots options don't support that well. I already had canvas-based screenshot but it was missing the DOM overlays, so finally nailed it thanks to you! 🤩

In my app, i'm screenshotting a specific node instead of the whole viewport. I'm basically cropping the image after the screenshot, to get the portion I want only (determined based on the node position and size automatically). I was wondering if there was any interest in adding this as a feature to the project? If yes, I could open a PR but might require some pointers as to where is the implementation best suited.

Take care!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions