[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yank-media: allow users to limit image types that can be inserted
From: |
Eli Zaretskii |
Subject: |
Re: yank-media: allow users to limit image types that can be inserted |
Date: |
Thu, 31 Oct 2024 16:31:49 +0200 |
> Date: Thu, 31 Oct 2024 12:51:04 +0100
> Cc: emacs-devel@gnu.org
> From: pinmacs <pinmacs@cas.cat>
>
> For the way I use it through orgmode the selection determines how the
> file is stored.
Then that is specific to Org, and is not really relevant to the issue
we are discussing here. If Org cannot give a way to select the format
in which the image is stored, then we'd need to consider this speciall
for Org. (And still, I don't really understand why you care about the
format Org uses to store an inline image.)
> If I do 2 screen captures of nature [0], and I save one of them with png
> and jpeg, this isĀ what appears in my orgmode buffer:
>
> file:/path/to/emacs-orgmode-images/2024/2024-10-31_12-36-45_screenshot.png
> file:/path/to/emacs-orgmode-images/2024/2024-10-31_12-36-59_screenshot.jpeg
>
> Hence, new files where saved. And that has an impact in file size, so in
> [1] png takes 8 times more, because jpeg is able to compress better a
> natural image [2].
JPEG compresses better, but it also loses information. So I think
even in this situation, PNG is a better choice I fail to understand
how the small increase in disk space could be such a serious issue
nowadays.
> So me as user in two different use cases of yank-media:
>
> - So, me in a day where I am working in IT stuff related, I might want
> to just select preferred format as png if what I capture is more
> synthetic, such as text, log errors, visual annotations on user interfaces.
With my suggestion, you can still select JPEG, even if the default is
PNG.
- Re: yank-media: allow users to limit image types that can be inserted, (continued)
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/10/27
- Re: yank-media: allow users to limit image types that can be inserted, Visuwesh, 2024/10/27
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/10/27
- Re: yank-media: allow users to limit image types that can be inserted, Visuwesh, 2024/10/28
- Re: yank-media: allow users to limit image types that can be inserted, Visuwesh, 2024/10/29
- Re: yank-media: allow users to limit image types that can be inserted, Pedro, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, pinmacs, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, pinmacs, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted,
Eli Zaretskii <=
- Message not available
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Ihor Radchenko, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Ihor Radchenko, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Ihor Radchenko, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Visuwesh, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Visuwesh, 2024/10/31
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/10/31