[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r107264: shr.el (shr-rescale-imag

From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r107264: shr.el (shr-rescale-image): Allow viewing large images.
Date: Tue, 14 Feb 2012 12:43:12 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

> Right.  But the default value of 6.0 disallows a lot of real-world
> images.  (9gag in particular.)  Perhaps binding it to, say, 60.0 in
> shr.el would make sense?

For a full-screen frame on a modern display, we're talking 2M pixels for
the frame, so you're suggesting to place the limit at 60x60x2M = 7G
pixels... I'm afraid that's clearly in the "crash&|DoS" zone.

Maybe the limit should be expressed in megabytes or in total number of
pixels (rather than in only one dimension) and relative to the screen
size rather than the frame size.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]