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

RenderRepaintBoundary cropping alpha pixels #580

Open
aldrin-goyazi opened this issue Oct 5, 2023 · 1 comment
Open

RenderRepaintBoundary cropping alpha pixels #580

aldrin-goyazi opened this issue Oct 5, 2023 · 1 comment

Comments

@aldrin-goyazi
Copy link

aldrin-goyazi commented Oct 5, 2023

I am using RenderRepaintBoundary, but what happens is it includes the height of the Container, If I try to resize the parent container is squishes the camera preview.
I want to know if there is a way to crop/ remove the negative space or alpha pixels of the png file.

id3

Thank you!

@brendan-duncan
Copy link
Owner

You could try the trim function, https://pub.dev/documentation/image/latest/image/trim.html.

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