getSizeAsync method
Returns the size of the input
.
Implementation
@override
Future<Size> getSizeAsync(AsyncImageInput input) async {
final widthList = await input.getRange(0x10, 0x14);
final heightList = await input.getRange(0x14, 0x18);
final width = convertRadix16ToInt(widthList);
final height = convertRadix16ToInt(heightList);
return Size(width, height);
}