calculate method

ImageDimension calculate ()

Calculate size for gif file

Implementation

ImageDimension calculate() => !isGif()
    ? null
    : ImageDimension(
        width: MoreList.readUInt16LE(codeUnits, 6),
        height: MoreList.readUInt16LE(codeUnits, 8));