I use glide 4.7.1,why Ican not load success this picture
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description

Glide.with(this).asBitmap().load(picPath)
.into(new SimpleTarget(720, 1280) {
@Override
public void onResourceReady(@NonNull Bitmap resource, @Nullable Transition transition) {
isLoadSucess = true;
LogUtil.logE("resource width,height:",resource.getWidth()+","+resource.getHeight());
if(img!=null){
img.setImageBitmap(resource);
}
}
});
it can not load successful
this picture is only 432X118 ,but when I use top code,log print :resource width,height:4686,1280
and then OpenGLRenderer print:Bitmap too large to be uploaded into a texture (4686x1280, max=4096x4096),but why,I has user 720X1280,i Invalid!
but i user this bottom code ,it is successful
Glide.with(this).asBitmap().load(picPath).into(img);//img is ImageView
Contributor guide
Assessment
This issue has not been assessed yet.