scandit-sdk
Version:
Scandit Barcode Scanner SDK for the Web
26 lines • 931 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImageSettings = void 0;
var ImageSettings;
(function (ImageSettings) {
// Warning: the values of Format are important as the data capture web worker relies on them without type checking.
/**
* Image bytes format/layout.
*/
var Format;
(function (Format) {
/**
* Single-channel 8-bit gray scale image.
*/
Format[Format["GRAY_8U"] = 0] = "GRAY_8U";
/**
* RGB image with 8 bits per color channel.
*/
Format[Format["RGB_8U"] = 1] = "RGB_8U";
/**
* RGBA image with 8 bits per color channel.
*/
Format[Format["RGBA_8U"] = 2] = "RGBA_8U";
})(Format = ImageSettings.Format || (ImageSettings.Format = {}));
})(ImageSettings = exports.ImageSettings || (exports.ImageSettings = {}));
//# sourceMappingURL=imageSettings.js.map