Discuss / Python / wow

4ever

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

  • 1

Reply