forked from quentin/quentin.dufour.io
13 lines
741 B
Python
13 lines
741 B
Python
|
exif_data = "4D4A57564533324E4B524E474D5A4A544F5256553436544850424844455354494A555A4653364B5A474A4D5445544B584C453255344D5356474E475855514C5A4A555A4555334B5049524354435753584A4A5755365632474E5247573252544B4A56564655323232495247584F574C4E4A553245325243534E42484732534A524A5A4346534D433249354C47595453454E4D32453656324F4E4A4E4649554C324A564C565336434F4E4A4558515753584B4532553652434B4E564E4549554C594C4A57554B4E434E495241584F54544E4A553245365632534E4A4D5855524A544C4A4B464B36535A4B5249584F5432454C4A554655334B4B4E4A4D564F534C324C455A455532535049354954475454324A555A553256434B4E524846495A5A534A555A54434F493D"
|
||
|
|
||
|
d1 = bytearray.fromhex(exif_data)
|
||
|
print(d1)
|
||
|
|
||
|
import base64
|
||
|
|
||
|
d2 = base64.b32decode(d1)
|
||
|
print(d2)
|
||
|
|
||
|
d3 = base64.b64decode(d2)
|
||
|
print(d3)
|