Luban
Luban copied to clipboard
if image width 540,height 200354,scale no effect
Luban.compress(getActivity(), new File(mSelectPhotoList.get(0).getPhotoPath())) .setMaxHeight(1600) .setMaxWidth(1600) .clearCache() .launch(new OnCompressListener() { }); has a image is 540*20354 ,big size. scale can't run ,is source return.
.putGear(Luban.FIRST_GEAR) 就可以了