From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Several suggestions for image support Date: Fri, 16 Apr 2004 12:09:47 +0100 Organization: Integra SP Ltd Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <407FBEFB.8090604@gnu.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1082114765 12375 80.91.224.253 (16 Apr 2004 11:26:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2004 11:26:05 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 16 13:25:52 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BERTj-0005Ce-00 for ; Fri, 16 Apr 2004 13:25:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BERTj-0004HQ-00 for ; Fri, 16 Apr 2004 13:25:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEROW-0003Lk-3v for emacs-devel@quimby.gnus.org; Fri, 16 Apr 2004 07:20:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BERLA-0002Ag-7D for emacs-devel@gnu.org; Fri, 16 Apr 2004 07:17:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BERHz-00010c-22 for emacs-devel@gnu.org; Fri, 16 Apr 2004 07:14:15 -0400 Original-Received: from [209.61.173.204] (helo=integrasp.com) by monty-python.gnu.org with smtp (Exim 4.30) id 1BEREb-0000CP-2g for emacs-devel@gnu.org; Fri, 16 Apr 2004 07:10:13 -0400 Original-Received: (qmail 16354 invoked from network); 16 Apr 2004 10:55:46 -0000 Original-Received: from unknown (HELO ntserver.integrasp.com) (217.207.198.106) by 66.216.96.43 with SMTP; 16 Apr 2004 10:55:46 -0000 Original-Received: from gnu.org (altiojr.altio.com [192.168.111.196]) by ntserver.integrasp.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2CQ68Z85; Fri, 16 Apr 2004 12:09:45 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-gb, en, ja Original-To: "Kim F. Storm" In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21747 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21747 Kim F. Storm wrote: > I understand now -- yes it is silly to try to guess something which > is already there. > > Would somebody want to work on fixing this? What's to fix? There is already code there to create a mask from transparent parts of a PNG image with transparency. And for images with an alpha channel, if no :background is specified, the frame background color is used. In the alpha channel case, it might be better to do this at the time the image is displayed, in order to take faces into account, but that would probably mean a change in the way we cache and reuse images.