import base64


def decode_photo(base64_text):
    """
    decode text to photo
    :param base64_text:
    :return: decoded bytes
    """
    return base64.b64decode(bytes(base64_text, encoding="utf-8"))