包含美颜等40余种实时滤镜相机,可拍照、图片修改 图片编辑包含常规参数设置(对比度,饱和度等)、美颜(美白,磨皮)、滤镜
MagicShowManager.getInstance().openEdit(activity,imagePath, new ImageEditCallBack() {
@Override
public void onCompentFinished(MagicShowResultEntity magicShowResultEntity) {
Log.e("HongLi","获取图片地址:" + magicShowResultEntity.getFilePath());
}
});
打开拍照,拍照之后直接进图片编辑
MagicShowManager.getInstance().openCameraAndEdit(activity,new ImageEditCallBack(){
@Override
public void onCompentFinished(MagicShowResultEntity magicShowResultEntity) {
}
});
打开拍照,拍照实现了滤镜效果,CameraConfig可设置拍照图片的大小 MagicShowManager.getInstance().openCamera(activity,new CameraShootCallBack(){
@Override
public void onCompentFinished(MagicShowResultEntity magicShowResultEntity) {
}
});
提供了MagicShowManager方法,回调里面会返回编辑成功之后的图片信息