Deduces version information purely from QR Code dimensions.
public static Version getProvisionalVersionForDimension(int dimension) { if (dimension % 4 != 1) { return null; } try { return getVersionForNumber((dimension - 17) >> 2); } catch (ArgumentException) { return null; } }