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

一直卡在压缩这,代码如下 #4

Open
iyuhang opened this issue May 8, 2019 · 2 comments
Open

一直卡在压缩这,代码如下 #4

iyuhang opened this issue May 8, 2019 · 2 comments

Comments

@iyuhang
Copy link

iyuhang commented May 8, 2019

`final newCompressedPicpath = join((await getTemporaryDirectory()).path, '${DateTime.now().millisecondsSinceEpoch}.png');

CompressObject compressObject = CompressObject(
  imageFile: File(picturePath),
  path: newCompressedPicpath,
  quality: 80,
  step: 9,
  mode: CompressMode.AUTO
);
var path =await (Luban.compressImage(compressObject));`
@flutter-youni
Copy link

@iyuhang 你用的是不是IOS测试的

@iyuhang
Copy link
Author

iyuhang commented May 23, 2019

@young-ken 对的

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