def bmp_info(data): date = data[:30] t = struct.unpack('<ccIIIIIIHH',date) return { 'width': t[-4], 'height': t[-3], 'color': t[-1] }
Sign in to make a reply
叫是先生