From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: image size limit? Date: Wed, 19 Oct 2005 11:02:19 +0200 Message-ID: References: <87oe5v7q19.fsf@stupidchicken.com> <87k6giiqh3.fsf@pacem.orebokech.com> <87hdbht7v9.fsf@stupidchicken.com> <87d5m3zu20.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1129727841 7076 80.91.229.2 (19 Oct 2005 13:17:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 13:17:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 19 15:17:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESDl9-0002Jz-Rb for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 15:13:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESDl8-0000LB-U7 for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 09:13:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESBVQ-0003ra-Q0 for emacs-devel@gnu.org; Wed, 19 Oct 2005 06:49:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESBMU-0002MD-UI for emacs-devel@gnu.org; Wed, 19 Oct 2005 06:39:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ES9q3-0001la-Gu for emacs-devel@gnu.org; Wed, 19 Oct 2005 05:02:26 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ES9q2-0006xB-4L for emacs-devel@gnu.org; Wed, 19 Oct 2005 05:02:22 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-161-125.inter.net.il [84.228.161.125]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CSW24612 (AUTH halo1); Wed, 19 Oct 2005 11:02:16 +0200 (IST) Original-To: Chong Yidong In-reply-to: <87d5m3zu20.fsf@stupidchicken.com> (message from Chong Yidong on Mon, 17 Oct 2005 17:56:39 -0400) 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:44314 Archived-At: > From: Chong Yidong > Date: Mon, 17 Oct 2005 17:56:39 -0400 > Cc: emacs-devel@gnu.org > > > But I don't think this limit should be absolute. I think it should be > > specified as a multiple of the frame height and width, and it should > > be given as a floating point number. I'd suggest 2.0 as the default > > for this ratio. > > What frame should we then use? The selected frame? > > That's not really logical, the frame that issues the call to load an > image (which is where we check the image size) may not be the frame > that ends up displaying it. How about the using display size in pixels (display-pixel-height and display-pixel-width)?