批量压缩这里能不能支持list
liguangze opened this issue · comments
liguangze commented
Tiny.FileCompressOptions options = new Tiny.FileCompressOptions();
Tiny.getInstance().source("").batchAsFile().withOptions(options).batchCompress(new FileBatchCallback() {
@OverRide
public void callback(boolean isSuccess, String[] outfile) {
//return the batch compressed file path
}
});
因为你的demo里面写的是数组,长度都固定了,我现在不知道用户要传几张,只能传集合,
zhengxiaoyong commented
@liguangze 可以集合转化为数组传进来