startDecode method
Validate the file is a TIFF image and get information about it. If the file is not a valid TIFF image, null is returned.
Implementation
@override
TiffInfo? startDecode(List<int> bytes) {
_input = InputBuffer(bytes);
info = _readHeader(_input);
if (info != null) {
exif = ExifData.fromInputBuffer(InputBuffer(bytes));
}
return info;
}