[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implementing image support for kitty terminal
From: |
Tomas Hlavaty |
Subject: |
Re: Implementing image support for kitty terminal |
Date: |
Sat, 10 Sep 2022 05:02:56 +0200 |
On Fri 09 Sep 2022 at 08:43, Eli Zaretskii <eliz@gnu.org> wrote:
> Yes, by changing the C code not to do that.
>
>> >> (image-size (create-image "/tmp/a.jpg"))
>> >> => (error "Window system frame should be used")
>> >
>> > This is us deliberately failing image-size early on, because we don't
>> > want complications down the road, and because we know images cannot be
>> > displayed on TTY frames.
>>
>> I am asking emacs to tell me the size of the image.
>> I am not asking emacs to display it.
>
> But the code involved reuses some subroutines that are used for
> display as well, and those signal an error.
>
> It is never a problem with the current code because only GUI frames
> can display images. To get TTY frames be capable of some of that
> functionality, we need changes on the C level (and perhaps also in
> Lisp), but those changes are rather mechanical -- find out which code
> signals the error and modify it to do that on some new condition, or
> not at all.
Understand.
Thank you for the explanation.
- Re: Implementing image support for kitty terminal, (continued)
- Re: Implementing image support for kitty terminal, Jose A Ortega Ruiz, 2022/09/07
- Re: Implementing image support for kitty terminal, Akib Azmain Turja, 2022/09/08
- Re: Implementing image support for kitty terminal, Jose A Ortega Ruiz, 2022/09/08
- Re: Implementing image support for kitty terminal, Tomas Hlavaty, 2022/09/08
- Re: Implementing image support for kitty terminal, Tomas Hlavaty, 2022/09/08
- Re: Implementing image support for kitty terminal, Eli Zaretskii, 2022/09/08
- Re: Implementing image support for kitty terminal, Tomas Hlavaty, 2022/09/08
- Re: Implementing image support for kitty terminal, Eli Zaretskii, 2022/09/09
- Re: Implementing image support for kitty terminal,
Tomas Hlavaty <=
- Re: Implementing image support for kitty terminal, Akib Azmain Turja, 2022/09/08
- Re: Implementing image support for kitty terminal, Eli Zaretskii, 2022/09/08
Re: Implementing image support for kitty terminal, Akib Azmain Turja, 2022/09/08
Re: Implementing image support for kitty terminal, xenodasein, 2022/09/10