Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Satoshi Yoshida <dynamisxar@icloud.com>
To: info-gnus-english@gnu.org
Subject: Generate and insert Face header from jpg file
Date: Sun, 31 Jul 2022 11:40:08 +0900	[thread overview]
Message-ID: <87pmhmromv.fsf@icloud.com> (raw)

I use Gnus v5.13
I read https://www.gnus.org/manual/gnus_124.html#Face
and set in .gnus.el

(setq message-required-headers
      (nconc message-required-headers
             (list '(Face . (lambda ()
                              (gnus-face-from-file "~/face.jpg"))))))

But I couldn't generate and insert Face header at writing a mail.

I think there is no problem about ~/face.jpg (48x48 pixels, 13.2kB).
When I pasted Face header generated by shell script with face.jpg

http://quimby.gnus.org/circus/face/make-face
(I needed to rewrite "mimencode" to "mmencode" of FreeBSD package)

and send a mail myself, I could see Face image correctly.

Does anyone know the solutions?

-- 
Satoshi Yoshida


             reply	other threads:[~2022-07-31  5:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-31  2:40 Satoshi Yoshida [this message]
2022-07-31 10:15 ` Adam Sjøgren
2022-07-31 12:18   ` Satoshi Yoshida
2022-08-01  2:29 ` Emanuel Berg

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=87pmhmromv.fsf@icloud.com \
    --to=dynamisxar@icloud.com \
    --cc=info-gnus-english@gnu.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).