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 scaling Date: Sat, 23 Feb 2008 07:21:22 +0900 Message-ID: <87wsowljj1.fsf@catnip.gol.com> References: <87odaam9oy.fsf@stupidchicken.com> <8563wiaskc.fsf@lola.goethe.zz> <87lk5dr3kf.fsf@stupidchicken.com> <87r6f5dzvm.fsf@ambire.localdomain> <87fxvkk9q4.fsf@stupidchicken.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203718907 9372 80.91.229.12 (22 Feb 2008 22:21:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2008 22:21:47 +0000 (UTC) Cc: Juanma Barranquero , Thien-Thi Nguyen , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 22 23:22:12 2008 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.50) id 1JSgHR-0002NQ-Mz for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2008 23:22:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSgGw-0002Dy-7L for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2008 17:21:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSgGt-0002Dm-02 for emacs-devel@gnu.org; Fri, 22 Feb 2008 17:21:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSgGr-0002DT-G6 for emacs-devel@gnu.org; Fri, 22 Feb 2008 17:21:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSgGr-0002DQ-BG for emacs-devel@gnu.org; Fri, 22 Feb 2008 17:21:33 -0500 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JSgGn-0002n1-Lq; Fri, 22 Feb 2008 17:21:30 -0500 Original-Received: from 203-216-97-013.dsl.gol.ne.jp ([203.216.97.13] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1JSgGh-0006av-S0; Sat, 23 Feb 2008 07:21:23 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id C65172FF7; Sat, 23 Feb 2008 07:21:22 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <87fxvkk9q4.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 22 Feb 2008 15:38:27 -0500") Original-Lines: 16 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:90028 Archived-At: Chong Yidong writes: > We would thus be using libpng to perform image manipulations, for > arbitrary images and not just pngs. The trouble is that if libpng is > not available, all this functionality would disappear (not just for > pngs, but also for gifs or whatever other images *are* supported). In > that case, how would we handle this at the Lisp interface level? I dunno about other people, but my thought was simply to make the interface abstract enough that we could easily use a thin wrapper around an external library for image handling, and keep a "portable" version (mostly, the current code) for cases when such is not available. -Miles -- Quack, n. A murderer without a license.