From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: image size limit? Date: Wed, 19 Oct 2005 22:27:49 +0900 Message-ID: References: <87oe5v7q19.fsf@stupidchicken.com> <87k6giiqh3.fsf@pacem.orebokech.com> <87hdbht7v9.fsf@stupidchicken.com> <87d5m3zu20.fsf@stupidchicken.com> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1129738664 15397 80.91.229.2 (19 Oct 2005 16:17:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 16:17:44 +0000 (UTC) Cc: Chong Yidong , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 19 18:17:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESGZm-0005Tq-Bl for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 18:14:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESGZj-0003ZI-Ez for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 12:13:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESDyz-0004cm-UT for emacs-devel@gnu.org; Wed, 19 Oct 2005 09:27:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESDyx-0004c0-Gz for emacs-devel@gnu.org; Wed, 19 Oct 2005 09:27:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESDyw-0004bW-Rm for emacs-devel@gnu.org; Wed, 19 Oct 2005 09:27:51 -0400 Original-Received: from [64.233.184.203] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESDyw-0000G6-T7 for emacs-devel@gnu.org; Wed, 19 Oct 2005 09:27:51 -0400 Original-Received: by wproxy.gmail.com with SMTP id i11so143721wra for ; Wed, 19 Oct 2005 06:27:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BUJsBwk4FpEYUlHqh1xWcO1MJYEru+UvOAtgCUavXvDlZeYjU+LXqXBpOAneDHWAEc48PzwxwjrWv4glBS6u0Yt4X/2GbD2xsT/onAa9/Vyx/ym+j9i7TCwIe8EVRffWWG26EFSoLPhawFf1QcSiutXqZTPtN2kwixYnmLmEjYQ= Original-Received: by 10.54.94.16 with SMTP id r16mr568509wrb; Wed, 19 Oct 2005 06:27:49 -0700 (PDT) Original-Received: by 10.54.160.6 with HTTP; Wed, 19 Oct 2005 06:27:49 -0700 (PDT) Original-To: Stefan Monnier In-Reply-To: Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44325 Archived-At: 2005/10/18, Stefan Monnier : > My Emacs frames are typically 80 columns of 13x6, i.e. about 500 pixel wi= de, > but I often (at least once a week) watch digital photos in those frames > and more often than not those picteures are 1600 or 2048 pixel wide. Yeah, me too -- in many cases I just wanna check do a quick check, and seeing just the upper-left corner is good enough, so I do this with pictures up to about 3840 x 3072 pixels (that's triple my display size in each dimension). Emacs scrolling actually works reasonably well if you only care about the left edge... :-) I think it's a good idea to have a limit, just make it rather bigger than any common picture size, e.g., 10,000 x 10,000. Limiting it to some multiple of the display size seems like pointless extra work -- Emacs on a modern machine is quite capable of handling even pretty big pictures, it's just the _insane_ sizes from corrupted or malicious data that cause problems. -Miles -- Do not taunt Happy Fun Ball.