test_picture = function() { api.getPicture({ sourceType: 'library', encodingType: 'png', mediaValue: 'pic', destinationType: 'url', allowEdit: true, //quality: , //targetWidth:, //targetHeight:, saveToPhotoAlbum: false }, function(ret, err){ if (ret)…