GNU bug report logs - #54496
27.2; image-mode operations should reuse image :data property

Previous Next

Package: emacs;

Reported by: awrhygty <at> outlook.com

Date: Mon, 21 Mar 2022 13:43:02 UTC

Severity: minor

Tags: wontfix

Found in version 27.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 54496 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: awrhygty <at> outlook.com
Cc: 54496 <at> debbugs.gnu.org
Subject: Re: bug#54496: 27.2; image-mode operations should reuse image :data
 property
Date: Mon, 21 Mar 2022 17:57:08 +0100
awrhygty <at> 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




This bug report was last modified 3 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.