From: Lars Ingebrigtsen <larsi@gnus.org>
To: awrhygty@outlook.com
Cc: 54496@debbugs.gnu.org
Subject: bug#54496: 27.2; image-mode operations should reuse image :data property
Date: Mon, 21 Mar 2022 17:57:08 +0100 [thread overview]
Message-ID: <87r16vs0pn.fsf@gnus.org> (raw)
In-Reply-To: <TYZPR01MB392016B0D564CBE569BC0744C3169@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com's message of "Mon, 21 Mar 2022 22:42:08 +0900")
awrhygty@outlook.com writes:
> When viewing an image of external format which image-convert is used for,
> 'r'(image-rotate) command is done immediately.
> But resizing commands like 's o'(image-transform-original) takes much time.
> It seems that 's o' calls image-convert each time.
> To save time, converted data should be reused.
`r' is an image command, while `s o' is an image-mode command, and
image-mode doesn't know anything about the image file being displayed
having done a round-trip via image-convert. I.e., image-mode creates a
new image with a new `create-image', which I think is the right thing to
do here.
I don't think it's worth it to introduce extra complexity here, so I'm
closing this as a "wontfix".
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2022-03-21 16:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 13:42 bug#54496: 27.2; image-mode operations should reuse image :data property awrhygty
2022-03-21 16:57 ` Lars Ingebrigtsen [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r16vs0pn.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=54496@debbugs.gnu.org \
--cc=awrhygty@outlook.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).