I do have a string that must contain graphical data. The string looks like this:
0x32 0x3c 0x2e 0x33 0x34 ...
How can I convert and / or display this in Python into an image or image file? I already looked for a solution, but most articles provided help for string in other formats which all look different. Most of them look like this:
0000D4948445200000124000001150802000000C6BD0FB30000 ...
A simple procedure for conversion and save as PNG, JPG or TIF would be great. Displaying the picture in a window using the image library Pillow would be even better.
Thanks in advance! Ulrich
question from:
https://stackoverflow.com/questions/65918412/python-hexadecimal-string-to-image-conversion 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…