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

DPI #1

Open
ghost opened this issue Sep 20, 2018 · 2 comments
Open

DPI #1

ghost opened this issue Sep 20, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 20, 2018

I want to use this to print screens.
Did you find a way to get flutter to paint at a high DPI before capturing the image ?

@parth181195
Copy link
Owner

you can change the pixel ratio ui.Image image = await boundary.toImage(pixelRatio: 3.0);

@ghost
Copy link
Author

ghost commented Sep 22, 2018

ah thats what the 3.0 is for . Was curious what that was doing there.
Will try it !

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

1 participant