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

Error: UnimplementedError UnsupportedFlutterImageCompress.compressWithFile #303

Open
cembag opened this issue May 12, 2024 · 3 comments
Open

Comments

@cembag
Copy link

cembag commented May 12, 2024

I'm getting an error when using the CompressWithFile function.

compressedImage = await FlutterImageCompress.compressWithFile(
  file.path,
  minWidth: targetSize.width.toInt(),
  minHeight: targetSize.height.toInt(),
  quality: quality,
  format: CompressFormat.jpeg,
);
Screenshot 2024-05-12 at 17 01 10
@zirg41
Copy link

zirg41 commented May 30, 2024

same issue

@ea-jobvalley
Copy link

I had the same error after I tried to use compute(). After removing it the error was gone and it worked again.

@alexdieudonne
Copy link

alexdieudonne commented Jun 27, 2024

To solve the error you just have to

  • run npx pod-install to install the required pods of the plugin
  • and re run the project.

I figured out after one hour...

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