exportToJpgBytes static method
Exports a scan result as simulated JPG byte buffer.
Encodes the raw value and metadata as a binary payload with a JFIF-style header.
Implementation
static Uint8List exportToJpgBytes(ScanResult result) {
return _exportImageBytes(result, format: 'JPG');
}