@thegrizzlylabs/cordova-plugin-genius-scan
Advanced tools
Comparing version 3.0.24 to 3.0.25
{ | ||
"name": "@thegrizzlylabs/cordova-plugin-genius-scan", | ||
"version": "3.0.24", | ||
"version": "3.0.25", | ||
"description": "Cordova Plugin for Genius Scan SDK", | ||
@@ -5,0 +5,0 @@ "author": "TheGrizzlyLabs <sdk@thegrizzlylabs.com> (https://www.thegrizzlylabs.com/)", |
@@ -118,3 +118,3 @@ # Genius Scan SDK Cordova plugin | ||
- `pdfPageSize`: `fit`, `a4`, `letter`, defaults to fit. | ||
- `pdfMaxScanDimension`: max dimension in pixels when images are scaled before PDF generation, for example 2000 to fit both height and width within 2000px. Defaults to 0, which means no scaling is performed. | ||
- `pdfMaxScanDimension`: max dimension in pixels when images are scaled before PDF generation, for example 2000 to fit both height and width within 2000px. Defaults to 0, which means no scaling is performed. | ||
- `jpegQuality`: JPEG quality used to compress captured images. Between 0 and 100, 100 being the best quality. Default is 60. | ||
@@ -143,3 +143,3 @@ - `postProcessingActions`: an array with the desired actions to display during the post processing screen (defaults to all actions). Possible actions are `rotate`, `editFilter`. | ||
You can use this plugin with any Cordova-based framework, for example Ionic. | ||
The way to detect that the device is ready is slightly different, but after that you also access the plugin with **cordova.plugins.GeniusScan.scanImage(imageFileUri, onSuccess, onFail)** | ||
The way to detect that the device is ready is slightly different, but after that you also access the plugin with **cordova.plugins.GeniusScan.scanWithConfiguration(configuration, onSuccess, onFail)** | ||
@@ -158,3 +158,3 @@ In the controller where you need the plugin, you will have to import `Platform` and pass it to the constructor, and also declare the `cordova` variable so that TypeScript recognizes it. | ||
// the plugin method is now available: | ||
cordova.plugins.GeniusScan.scanCamera(...) | ||
cordova.plugins.GeniusScan.scanWithConfiguration(...) | ||
}); | ||
@@ -161,0 +161,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
46475245