react-native-scanbot-barcode-scanner-sdk
Version:
Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS
24 lines (22 loc) • 842 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ScanbotImageProcessor = void 0;
var _impl = require("./impl");
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
/// Generated from xplatforms/schemas/barcode_scanner/ImageProcessor.yaml
/**
* Entry point for all image processing features.
*/
const ScanbotImageProcessor = exports.ScanbotImageProcessor = {
/**
* Reads image data from the given file uri and returns it as a Base 64 encoded string.
* @param {string} imageFileUri - File uri of the image to be read.
* @returns {Promise<string>} - The Base 64 encoded representation of the image.
*/
async readImageData(imageFileUri) {
return _impl.ScanbotImageProcessorImpl.readImageData(imageFileUri);
}
};
//# sourceMappingURL=ImageProcessor.js.map