Subject: bug#25287: 25.1; [WISH] shr-rescale-image: pass window size externally

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 21 Jan 2017 16:37:24 +0100

Christophe Troestler <[email-masked]> writes:

>> Couldn't mu4e just switch to the correct buffer first and then the
>> scaling would work automatically?
>
> The author (added to CC) seems to imply that it is hard
> <https://github.com/djcb/mu/issues/984>.  Maybe the problem is that
> this buffer contains many parts, each with its own rendering.

OK, I have to objection to adding an optional target-width/target-height
pair of parameters to `shr-rescale-image'.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no