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

Use isolates for image compression #3686

Open
Tracked by #513
monsieurtanuki opened this issue Feb 8, 2023 · 8 comments · Fixed by Skdahale/smooth-app#1
Open
Tracked by #513

Use isolates for image compression #3686

monsieurtanuki opened this issue Feb 8, 2023 · 8 comments · Fixed by Skdahale/smooth-app#1
Assignees

Comments

@monsieurtanuki
Copy link
Contributor

monsieurtanuki commented Feb 8, 2023

Use isolates for image compression (uploaded cropped JPEG) with the new flutter 3.7 feature: background isolate channels.
With isolates we won't have the stuttering side-effect of intensive compression computations, e.g. the circular progress indicator when sending a new cropped image will play perfectly.

Originally posted by @monsieurtanuki in #3682 (comment)

Part of

@Skdahale
Copy link

Skdahale commented Feb 9, 2023

Can I work on this issue

@monsieurtanuki
Copy link
Contributor Author

@Skdahale Please work on it.
As far as I understand the referenced links, it should be a simple init in the main and a compute for each call.

@Skdahale
Copy link

Skdahale commented Feb 9, 2023

Yes, but where is the reference link
what is path

@monsieurtanuki
Copy link
Contributor Author

@Skdahale

Use isolates for image compression (uploaded cropped JPEG) with the new flutter 3.7 feature: background isolate channels.

@Skdahale
Copy link

main.zip

I added compressImage flutter image compression

@monsieurtanuki
Copy link
Contributor Author

If you've coded something that you want to be merged, please create a branch locally and send a Pull Request.

@Skdahale
Copy link

Yes, sir but please check isn't correct

@monsieurtanuki
Copy link
Contributor Author

Don't worry, if you send a Pull Request that is not correct I'll let you know anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 💬 To discuss and validate
Development

Successfully merging a pull request may close this issue.

3 participants