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

加载bitmap失败 #8

Open
cjcj125125 opened this issue Apr 28, 2017 · 2 comments
Open

加载bitmap失败 #8

cjcj125125 opened this issue Apr 28, 2017 · 2 comments

Comments

@cjcj125125
Copy link

java.io.FileNotFoundException: http:/img.gank.io/da234724-80ab-4059-ae3b-52831508e45c?imageView2/0/w/400: open failed: ENOENT (No such file or directory) 请问是什么原因???
我的代码是下面这样的

Tiny.BitmapCompressOptions options = new Tiny.BitmapCompressOptions();
Tiny.getInstance().source("").asBitmap().withOptions(options).compress(new BitmapCallback() {
@OverRide
public void callback(boolean isSuccess, Bitmap bitmap) {
//return the compressed bitmap object
}
});

@ronanhardiman
Copy link

source("")
这里面要有源,不能只是是简单参考README.md 里面的示例。
要看看作者的demo,很详细。

@Sunzxyong
Copy link
Owner

@ronanhardiman

@cjcj125125 cjcj125125 mentioned this issue Apr 29, 2017
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

3 participants