GNU bug report logs -
#71909
30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform
Previous Next
Reported by: Eason Huang <aqua0210 <at> foxmail.com>
Date: Wed, 3 Jul 2024 04:47:01 UTC
Severity: wishlist
Found in version 30.0.60
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 07/10/2024 13:58, Eli Zaretskii wrote:
> Isn't CF_BITMAP format indicate the data to which we convert images on
> Windows in the w32-specific portions of image.c? Or maybe it's a BMP
> data (which we can already display, see w32image.c)? If so, then
> yanking images into an Emacs buffer could simply use the data instead
> of converting to PNG, then back to bitmap.
But how would lisp programs register for receiving that?
yank-media-handler asks for mime types.
>> I didn't expect the PNG, image/png formats. I suppose they are the same
>> image as the DIB/BITMAP.
>
> I'd rather expect them to be in PNG format.
Yes, the same pixels, but in PNG format.
>>> What about other kinds of media, like audio and video data? Is that
>>> supported, and if so, can we include that in some way?
>>
>> In standard formats there is CF_RIFF and CF_WAVE. Also programas may
>> insert a file format (as they do with PNGS), but I haven't found any
>> example yet. In any case, we can do the same as with images.
>
> If CF_WAVE are the same data as in *.wav files, then we should be able
> to invoke play-sound in some way.
But again, lisp programas need to register for a mime type, and then act
on the data as they require.
This bug report was last modified 260 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.