From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Several suggestions for image support Date: 16 Apr 2004 19:08:07 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <407FBEFB.8090604@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082128365 18072 80.91.224.253 (16 Apr 2004 15:12:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2004 15:12:45 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 16 17:12:37 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 1BEV1B-0005HD-00 for ; Fri, 16 Apr 2004 17:12:37 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BEV1A-0007NL-00 for ; Fri, 16 Apr 2004 17:12:36 +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 1BEUyR-0000C0-6G for emacs-devel@quimby.gnus.org; Fri, 16 Apr 2004 11:09:47 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BEUxo-0000A9-Sz for emacs-devel@gnu.org; Fri, 16 Apr 2004 11:09:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BEUxD-0008Ha-1y for emacs-devel@gnu.org; Fri, 16 Apr 2004 11:09:02 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.30) id 1BEUxB-0008Fx-VM for emacs-devel@gnu.org; Fri, 16 Apr 2004 11:08:30 -0400 Original-Received: (qmail 51768 invoked from network); 16 Apr 2004 15:08:28 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 16 Apr 2004 15:08:28 -0000 Original-To: Jason Rumney In-Reply-To: <407FBEFB.8090604@gnu.org> Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:21775 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21775 Jason Rumney writes: > 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. Transparent backgrounds was broken on X -- and on W32. I already have a fix for X (to be committed shortly). It would be great to have W32 fixed as well. > > 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. That's an idea... for 22.1 :-) -- Kim F. Storm http://www.cua.dk