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

Screenshot is blurred on iPad Pro 9.7 #43

Closed
mikron123 opened this issue May 24, 2021 · 7 comments
Closed

Screenshot is blurred on iPad Pro 9.7 #43

mikron123 opened this issue May 24, 2021 · 7 comments

Comments

@mikron123
Copy link

mikron123 commented May 24, 2021

I'm trying to capture a screenshot of a drawing. On the phone is works great.
On an iPad pro iOS 14.4 (didn't try others) it is very blurred. Trying different pixel ratio parameters doesn't seem to help.

Using the latest version of Screenshot.

@SachinGanesh
Copy link
Owner

Calculate the pixelRatio like this

double pixelRatio = MediaQuery.of(context).devicePixelRatio;

@mikron123
Copy link
Author

Did you try this with an iPad and it fixed the blurriness?

@mikron123
Copy link
Author

Calculate the pixelRatio like this

double pixelRatio = MediaQuery.of(context).devicePixelRatio;

Still terrible.

@uzumakinaruto123
Copy link

Blur on all iOS devices. Specifying pixel ratio doesn't help. Android works great.

@uzumakinaruto123
Copy link

Apparently, Screenshot was not the culprit here. When GallerySaver https://github.com/CarnegieTechnologies/gallery_saver is saving file from path Screenshot has emitted it is blurred. Used Photomanager package to save file instead and it worked.

@ritheshSalyan
Copy link
Collaborator

@uzumakinaruto123 If this issue is cleared you can close this.

@uzumakinaruto123
Copy link

@uzumakinaruto123 If this issue is cleared you can close this.

You tagged the wrong person. Not the author of this issue.

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

4 participants