Using the cordova plug-in saveImageUrl to save the Qiniu picture watermark causes the save to fail. Is there any solution? It will pop up that the picture is successfully saved, but the picture cannot be found in the album.
window.saveImage.fromUrl(
$scope.zoomImage+'?watermark/1/image/aHR0cHM6Ly9vbGh2a2RzNzMucW5zc2wuY29tL2xvZ28ucG5n/dissolve/50/gravity/SouthEast/dx/20/dy/20',
function (msg) {
widget.msgToast('图片保存成功');
},
function (err) {
widget.msgToast('图片保存失败');
},
type
);
The saveImageUrl plug-in you mentioned cannot be found. If you are using the SaveImage plug-in, the api is this cordova.plugins.imagesaver.saveImageToGallery(nativePathToJpegImage, successCallback, errorCallback);
The current processing method is to add a string after the Qiniu address. This can be saved