展示图片内容

    :param cnt_in:
    :type cnt_in:
    :param img_height:  照片占用的终端行数
    :type img_height: int
    :return:
    :rtype:

def cat_img_cnt(cnt_in='', img_height=0):
    """
       展示图片内容

    :param cnt_in:
    :type cnt_in:
    :param img_height:  照片占用的终端行数
    :type img_height: int
    :return:
    :rtype:
    """
    if not img_height:
        img_height = 6
    _head = '\x1b]1337;'
    _file = 'File=name={}'.format(to_str(base64.b64encode(to_bytes(now()))))
    _attr = ';inline=1;height={}:'.format(img_height)
    _tail = '\x07'
    cnt = '{}{}{}{}{}'.format(
        _head, _file, _attr, cnt_in, _tail
    )
    return cnt