readJpegRawDimensions function
Raw stored pixel dimensions from a JPEG's SOFn marker (pre-EXIF).
Implementation
({int width, int height})? readJpegRawDimensions(Uint8List bytes) {
return _walkJpeg<({int width, int height})>(
bytes,
onApp1: null,
onSof: _readSof,
);
}