Getting a photo
Gordon Worley
redbird at rbisland.cx
Tue Jun 4 05:59:01 CEST 2002
On Monday, June 3, 2002, at 05:56 PM, David Shaw wrote:
> On Sun, Jun 02, 2002 at 03:42:42PM +0200, Marc Mutz wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On Sunday 02 June 2002 04:55, David Shaw wrote:
>> <snip>
>>> If you don't want to deal with the temp file, or just like getting
>>> the data as a stream, you could try creating a named pipe (via
>>> mkfifo), and catting the jpg data into it with something like
>>>
>>> photo-viewer "cat > my-named-pipe"
>> <snip>
>>
>> Hmm, this screams for --photo-fd and gpgme support ;-)
>
> It does indeed. I just added --attribute-fd to the development
> version. It'll make things a lot easier in getting the photos out for
> display with frontends.
That would be nice. My currently solution works quite nicely (the
photo-viewer is 'cat > /tmp/macgpg-photo.jpeg' and then I just open that
file if the key has a user ID that is an image), though. BTW, this
leads me to ask, is the text `[image of size ' ever localized?
--
Gordon Worley - Mac GPG Project
http://macgpg.sourceforge.net/ ``Doveriai no proveriai.''
redbird at rbisland.cx --Russian proverb
PGP: 0xBBD3B003
More information about the Gnupg-devel
mailing list