{"_id":"info.protonet.imageresizer","_rev":"2-bed8545cb4c858dafcd61625ccf825d7","name":"info.protonet.imageresizer","description":"Plugin for resizing images only with the uri of the image.","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"info.protonet.imageresizer","version":"0.1.1","description":"Plugin for resizing images only with the uri of the image.","cordova":{"id":"info.protonet.imageresizer","platforms":["android","ios","windows"]},"repository":{"type":"git","url":"git+https://RTeran@github.com/RTeran/cordova-plugin-image-resizer.git"},"keywords":["cordova","device","resize","image","ecosystem:cordova","cordova-android","cordova-ios","cordova-windows"],"author":{"name":"RTeran"},"license":"MIT","bugs":{"url":"https://github.com/RTeran/cordova-plugin-image-resizer/issues"},"homepage":"https://github.com/RTeran/cordova-plugin-image-resizer#readme","gitHead":"2dcc537a42ae510d876ba858b122e5ca95923e49","_id":"info.protonet.imageresizer@0.1.1","scripts":{},"_shasum":"a43be699843abde5f0b8599dc825e662e3fc4720","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"rteran","email":"rafaelterantorralbo@gmail.com"},"dist":{"shasum":"a43be699843abde5f0b8599dc825e662e3fc4720","tarball":"https://registry.npmjs.org/info.protonet.imageresizer/-/info.protonet.imageresizer-0.1.1.tgz","integrity":"sha512-4MctAkCGUKkI0JSsbhpG9m6nuLXDQtyfKfVEK0THuC3f8QztBPYppBO8bbxmWlo1D560WlCQGFeYhZsAzc1u9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBqVz4qy4zfU0XSHE7Bdt9BFEDJq7C5mIoFULCMrT+ykAiEAhvyXJ6hs5hYDDFfBLmA9KLqlZXqQF6lTlpcnoymbjno="}]},"maintainers":[{"name":"rteran","email":"rafaelterantorralbo@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/info.protonet.imageresizer-0.1.1.tgz_1494868575159_0.2784602155443281"}}},"readme":"# Image Resizer for Cordova #\nBy: Protonet GmbH\n\nAuthors: Joschka Schulz\n\n## Adding the Plugin ##\n\nUse the Cordova CLI and type in the following command:\n\n`cordova plugin add https://github.com/protonet/cordova-plugin-image-resizer.git`\n\n## Sample Code\n\nAt the moment the plugin is available on android, iOS and windows\n\n### resize\n\n    window.ImageResizer.resize(options, success, failed);\n\n### Options\n  - **uri**(String): The Uri for the image on the device to get scaled\n  - **folderName**(String): The name of the folder the image should be put in **android only**\n  - **fileName**(String): A custom name for the file. Default name is a timestamp. **android and windows only**\n  - **quality**(Number): Quality given as Number for the quality of the new image **android and iOS only**\n  - **width**(Number): The width of the new image,\n  - **height**(Number): The height of the new image\n\n### Android Example\n    var options = {\n          uri: uri,\n          folderName: \"Protonet Messenger\",\n          quality: 90,\n          width: 1280,\n          height: 1280};\n\n    window.ImageResizer.resize(options,\n      function(image) {\n         // success: image is the new resized image\n      }, function() {\n        // failed: grumpy cat likes this function\n      });\n","maintainers":[{"name":"rteran","email":"rafaelterantorralbo@gmail.com"}],"time":{"modified":"2022-06-19T01:12:41.798Z","created":"2017-05-15T17:16:16.854Z","0.1.1":"2017-05-15T17:16:16.854Z"},"homepage":"https://github.com/RTeran/cordova-plugin-image-resizer#readme","keywords":["cordova","device","resize","image","ecosystem:cordova","cordova-android","cordova-ios","cordova-windows"],"repository":{"type":"git","url":"git+https://RTeran@github.com/RTeran/cordova-plugin-image-resizer.git"},"author":{"name":"RTeran"},"bugs":{"url":"https://github.com/RTeran/cordova-plugin-image-resizer/issues"},"license":"MIT","readmeFilename":"README.md"}