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 Date: Thu, 20 Jun 2013 22:37:25 +0300 Message-ID: <83obb0o9oq.fsf@gnu.org> References: <837ghopy8a.fsf@gnu.org> <83zjukog7h.fsf@gnu.org> <83txksodgv.fsf@gnu.org> <83r4fwocqd.fsf@gnu.org> <83ppvgoaw9.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1371757045 8301 80.91.229.3 (20 Jun 2013 19:37:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Jun 2013 19:37:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 20 21:37:25 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Upkfc-0002AP-I7 for ged-emacs-devel@m.gmane.org; Thu, 20 Jun 2013 21:37:24 +0200 Original-Received: from localhost ([::1]:57885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Upkfc-0007ja-47 for ged-emacs-devel@m.gmane.org; Thu, 20 Jun 2013 15:37:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpkfY-0007fA-Pw for emacs-devel@gnu.org; Thu, 20 Jun 2013 15:37:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpkfV-0001LR-8j for emacs-devel@gnu.org; Thu, 20 Jun 2013 15:37:20 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:34490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpkfV-0001LE-1c for emacs-devel@gnu.org; Thu, 20 Jun 2013 15:37:17 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MOP00C00I9L5600@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Thu, 20 Jun 2013 22:37:15 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOP00B88II3ZE60@a-mtaout23.012.net.il>; Thu, 20 Jun 2013 22:37:15 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160771 Archived-At: > From: Lars Magne Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Thu, 20 Jun 2013 21:18:33 +0200 > > Eli Zaretskii writes: > > > djpeg is not Emacs. I just stepped through jpeg_load_body, and this > > line takes about 1.5 sec for a 3 MB JPEG image: > > Yeah, but my image isn't that big: > > [larsi@stories /tmp]$ ls -lh /tmp/0.jpg > -rw-r--r-- 1 larsi larsi 220K Jun 20 18:52 /tmp/0.jpg > > > fn_jpeg_start_decompress (&mgr->cinfo); > > And it uses imagemagick, not that function. :-) So we are comparing apples with oranges. And if there's any network effect, it is within imagemagick in your case, right? Maybe imagemagick does involve X, I have no idea about its internals. > I was hoping that someone who knows something about Emacs and images > under X would pipe up so that I won't have to. :-) I do know about that. I told you what I know and see: Emacs does not invoke any display related code inside image-size, but you don't believe me for some reason.