From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: image scaling Date: Fri, 22 Feb 2008 21:47:59 +0100 Message-ID: References: <87odaam9oy.fsf@stupidchicken.com> <8563wiaskc.fsf@lola.goethe.zz> <87lk5dr3kf.fsf@stupidchicken.com> <87r6f5dzvm.fsf@ambire.localdomain> <87fxvkk9q4.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203713321 22362 80.91.229.12 (22 Feb 2008 20:48:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2008 20:48:41 +0000 (UTC) Cc: Emacs Devel To: "Chong Yidong" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 22 21:49:04 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 1JSeow-0001Bd-LX for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2008 21:48:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSeoR-0004Z4-7D for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2008 15:48:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSeoO-0004Yr-8R for emacs-devel@gnu.org; Fri, 22 Feb 2008 15:48:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSeoL-0004W1-Hb for emacs-devel@gnu.org; Fri, 22 Feb 2008 15:48:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSeoL-0004Vq-7X for emacs-devel@gnu.org; Fri, 22 Feb 2008 15:48:01 -0500 Original-Received: from wr-out-0506.google.com ([64.233.184.231]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JSeoK-0003TZ-UZ for emacs-devel@gnu.org; Fri, 22 Feb 2008 15:48:01 -0500 Original-Received: by wr-out-0506.google.com with SMTP id 58so864884wri.10 for ; Fri, 22 Feb 2008 12:48:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=f6D96h3DfmrGhhVwwM/NvvdJkDWZsZ/V2yx4Q2XlNU0=; b=x+fBpDw8xFYS8jc8mh8VxVUYptGtmvf2kME5RrLrzWIcRafLVoDYgajDTtMPM8T2W87pwblKG/phuQX6+UzlOGGbUIEsOR5LCLqfMGB8Vmk9tIu9q3fqMd6EXWn1cKPOS4KcAUeYVPRssG2bRn5kSMJY93OWvnMjO7ICQOlgtmE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IJURd8sGdrTPgU6Dw2R4TQKirgz/lJpeHI4A1nSrdnRLVIrcyZx0aAk3aSRrk0PROrv+3onuAtKH2vDD/xwiUZdreIMoGpUUESyGsQkpwGXMmK68CfoRm307oBiTQeKvI6RZ0ZRcmfc+uayuIVaHofehlUbFmAbSYitKR5PatuY= Original-Received: by 10.115.75.1 with SMTP id c1mr512742wal.84.1203713279193; Fri, 22 Feb 2008 12:47:59 -0800 (PST) Original-Received: by 10.115.72.13 with HTTP; Fri, 22 Feb 2008 12:47:59 -0800 (PST) In-Reply-To: <87fxvkk9q4.fsf@stupidchicken.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 (Google crawlbot) 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:90020 Archived-At: On Fri, Feb 22, 2008 at 9:38 PM, Chong Yidong wrote: > 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? Well, what would be the motivation to use the libraries? Because if it is speed, you can define a list of libraries, sorted by functionality (speed, or whatever), and if no library is available, you default to an Emacs-internal implementation... Juanma