javascript - cordova encounters Qiniu watermark
phpcn_u1582
phpcn_u1582 2017-05-19 10:31:01
0
2
601

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 );
phpcn_u1582
phpcn_u1582

reply all (2)
我想大声告诉你

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);

    phpcn_u1582

    The current processing method is to add a string after the Qiniu address. This can be saved

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!