ImagePipelineConfig.newBuilder(context).setDownsampleEnabled(true).build();
然后在将此起配置到你的application中
(this,imagePipelineConfig);
//原因貌似是fresco裁剪只支持jpg,而设置setDownsampleEnabled这个就支持png 等格式,详见下面
/xyczero/p/
ImagePipelineConfig.newBuilder(context).setDownsampleEnabled(true).build();
然后在将此起配置到你的application中
(this,imagePipelineConfig);
//原因貌似是fresco裁剪只支持jpg,而设置setDownsampleEnabled这个就支持png 等格式,详见下面
/xyczero/p/