Image(this.bytes, {String? reference}) : format = _detectFormat(bytes), reference = reference == null ? 'image_${randomHex()}' : _checkReference(reference);