Discuss / Python / 新手打卡

新手打卡

Topic source

邹lh

#1 Created at ... [Delete] [Delete and Lock User]
def bmp_info(data):
    t = struct.unpack('<ccIIIIIIHH',data[:30])
    return {
        'width': t[6],
        'height': t[7],
        'color': t[9]
    }

  • 1

Reply