GNU bug report logs -
#22172
25.1.50; Wishlist: There should be a way to say to Emacs that is should rescale all images with a certain factor
Previous Next
Reported by: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Date: Mon, 14 Dec 2015 23:01:02 UTC
Severity: wishlist
Tags: fixed
Found in version 25.1.50
Fixed in version 26.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 22172 <at> debbugs.gnu.org (full text, mbox):
John Wiegley <jwiegley <at> gmail.com> writes:
>>>>>> Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> There should be a way to say to Emacs, like there is in Firefox, that every
>> pixel in images should be rendered at, say, 2x. (If possible.)
>
> +1, except that I'd also like it to be buffer local. For Gnus, where it show
> graphical logos for individual with pixmaps, I'd like to use 0.5x.
Sure, it would also work buffer-locally...
I've now started implementing this. I guess if an image is 500 pixels
wide, and you've specified a scaling factor of 2, and :max-width is 800
pixels, then you should end up with an image that's 800 pixels wide?
I think that makes most sense. So the computation of this goes into the
compute_image_size function, and there's a new parameter :scale to
`create-image' that takes a number.
And the new variable is called image-scaling-factor.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 8 years and 171 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.