def fromBytes(data) -> BytesImage: return BytesImage(data)
def fromBytes(data) -> BytesImage: return BytesImage(data, flash=True)
async def fromRemote(url, **extra) -> BytesImage: async with ClientSession() as session: async with session.get(url, **extra) as response: return BytesImage(await response.read())