Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create png with transparency #50

Open
jeffceriello opened this issue Jan 2, 2023 · 1 comment
Open

Create png with transparency #50

jeffceriello opened this issue Jan 2, 2023 · 1 comment

Comments

@jeffceriello
Copy link

Hi, is it possible to generate a png instead of a jpeg?

I have these settings

const [image, takeScreenshot] = useScreenshot({
        type: "image/jpeg",
        quality: 1.0
});

and tried with type: "image/png" but that didn't work.

Is there a way to generate a PNG image with a transparency and a transparent background?

@tomimarkus991
Copy link

createFileName("png", "name");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants