URLImageInputStream stream = loggers.getImageInputStream(txid,
httpConnectReadTimeoutMs);
if (stream == null) {
throw new IOException("Cannot obtain input stream for image: " + txid);
}
return new ImageInputStream(txid, stream, stream.getImageDigest(),
stream.toString(), stream.getSize());
}