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: Using the ImageMagick backend seems to leak memory Date: Fri, 07 Jan 2011 16:25:24 +0900 Message-ID: References: <87sjx6zczl.fsf@member.fsf.org> <30611405.post@talk.nabble.com> <87pqs99qjd.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294385149 22703 80.91.229.12 (7 Jan 2011 07:25:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Jan 2011 07:25:49 +0000 (UTC) Cc: Jashy , Emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 07 08:25:44 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb6hi-0006h5-RF for ged-emacs-devel@m.gmane.org; Fri, 07 Jan 2011 08:25:43 +0100 Original-Received: from localhost ([127.0.0.1]:45352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb6hi-0000iW-8l for ged-emacs-devel@m.gmane.org; Fri, 07 Jan 2011 02:25:42 -0500 Original-Received: from [140.186.70.92] (port=38637 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb6ha-0000gZ-Qd for Emacs-devel@gnu.org; Fri, 07 Jan 2011 02:25:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb6hZ-0007d9-KQ for Emacs-devel@gnu.org; Fri, 07 Jan 2011 02:25:34 -0500 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:64173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb6hW-0007cW-Aw; Fri, 07 Jan 2011 02:25:30 -0500 Original-Received: from mailgate4.nec.co.jp ([10.7.69.184]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id p077PPbV005555; Fri, 7 Jan 2011 16:25:25 +0900 (JST) Original-Received: (from root@localhost) by mailgate4.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id p077PPr12435; Fri, 7 Jan 2011 16:25:25 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.50]) by vgate01.nec.co.jp (8.14.4/8.14.4) with ESMTP id p077JStQ008357; Fri, 7 Jan 2011 16:25:25 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay21.aps.necel.com with ESMTP; Fri, 7 Jan 2011 16:25:25 +0900 Original-Received: from dhlpc061 ([10.114.97.191] [10.114.97.191]) by relay21.aps.necel.com with ESMTP; Fri, 7 Jan 2011 16:25:25 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id CC4D352E222; Fri, 7 Jan 2011 16:25:24 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: <87pqs99qjd.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Fri, 07 Jan 2011 15:27:50 +0900") Original-Lines: 26 X-detected-operating-system: by eggs.gnu.org: Solaris 8 (1) 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:134347 Archived-At: "Stephen J. Turnbull" writes: > > My impression is that in general, ImageMagick does not aim at memory > > efficiency (that's why I don't want to use its libraries for my own > > image I/O needs, event though doing so would be pretty convenient). > > I would have though it's OK for small/medium images though. > > I believe disagreement on this point was a (minor) reason why the > GraphicsMagick project forked off. Anyway, GraphicsMagick *does* aim > at efficiency, both in time and space. Sadly GraphicsMagick seems to have achieved this partly by dropping some important features (e.g. floating-point pixel support...). Probabably not relevant for Emacs I suppose. What _I_ want, though, is a way to use one of these toolkits lower-level way that allows me to do progressive/partial I/O. Unfortunately it seems that most unified image-handling toolkits sort of ignore anything but whole-image I/O... -Miles -- Generous, adj. Originally this word meant noble by birth and was rightly applied to a great multitude of persons. It now means noble by nature and is taking a bit of a rest.