Gnus development mailing list
 help / color / mirror / Atom feed
From: soyeomul@doraji.xyz (황병희)
To: The Gnus <ding@gnus.org>
Subject: [Q] Face header string to original image file
Date: Fri, 03 Jan 2020 22:59:08 +0900	[thread overview]
Message-ID: <yw87gph76v.fsf@vtylj.birch.chromebook> (raw)

In 2010, i did take picture myself. Then i lost the original
picture. Fortunately i have the Face header string.

#+BEGIN_SRC: python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

data = """\
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEVMM2UIAhGJrpkJDwsD
AwgJAggKPnwFBAIEBAQJAjTkRM0eAAACN0lEQVQ4jW3Tv2sbMRQHcPnSDt78bMWctkOBgDc7
10I8Cl6DOpZm6RgPBx4LgbrjUbVVNiuXHNF/2yfJzqnEwmDfffyV9PSD2UNTfuu9A/65cT39
AnZ4j8pTcxzM/HlO4F8BnAcHCK14CuBeQXAFAJwbg/MmS2igEDWtrfZ9PyQiiJCxei1o+CNY
bUJX4J1Cr8TQlbWmFZ3vijFwT58c7kW3Z3K84oJrFAPYds8Yk6zmwnGLGai9rApZnaGgBbAZ
wF6GdoY3DiADA74IMMa5KzFPGEWDSLmAiSttDkhTqUVxAX+c/g9ER7BeVnzyZAdA5Go9Y+OC
ydXNXZlDCetJtfpWyXp6xzNQmkA+i0J+nI7jGJjKVjPfXYUKpXtc3AbQR2CraazQP17StKgr
/QpXEZrNAdIY7Wx/HmHR91U2K8XP10BLSEvS94scoPUJvN/mCVSqxiVBBdCzAbDkeG2/XlVy
BCA8ZoD4AZdUxYsiABPABNCIhsagnng4LDvL0LYYijdWCZrsRTx3YUnQGh46+0sZ2tv3MZ1A
xdKNxnuYFO9onTEClYZpHX//LNjyOiRs2ihzhO9MVnYACqo051YUZwMYhXEW1L7s2XU6LxZv
I6g4L1NTeSm7+wUBlCpD3Cyl3KXEqq5ZG+8RhEfBqsN2jrqaQYQ2PH/qRqmnh4auGgjnXPrj
j1udunqg887i/daHXTlA+Gbgm8aX9k1jvifQp2Ajm+2pRL+hk3QKGikv3dv3IdE4cwL+ATzH
tMu8OktOAAAAAElFTkSuQmCC
"""

x = data.strip()
y = x.splitlines(False)
z = "".join(y)

print(z)
#+END_SRC

Can i recover original image file from the string?

Yes, i want to recover 2010's my real face.

Sincerely, Gnus' fan Byung-Hee

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



             reply	other threads:[~2020-01-03 13:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-03 13:59 황병희 [this message]
2020-01-03 15:28 ` Adam Sjøgren
2020-01-03 19:43   ` 황병희

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yw87gph76v.fsf@vtylj.birch.chromebook \
    --to=soyeomul@doraji.xyz \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).