From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Several suggestions for image support Date: 16 Apr 2004 13:34:38 +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 1082115866 15094 80.91.224.253 (16 Apr 2004 11:44:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2004 11:44:26 +0000 (UTC) Cc: emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 16 13:44:20 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 1BERlc-0006Dw-00 for ; Fri, 16 Apr 2004 13:44:20 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BERlb-0004XS-00 for ; Fri, 16 Apr 2004 13:44:19 +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 1BERlB-00016h-Nh for emacs-devel@quimby.gnus.org; Fri, 16 Apr 2004 07:43:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BERjH-0000hX-8q for emacs-devel@gnu.org; Fri, 16 Apr 2004 07:41:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BERde-0007t3-Aq for emacs-devel@gnu.org; Fri, 16 Apr 2004 07:36:38 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BERcA-0007SE-Rr for emacs-devel@gnu.org; Fri, 16 Apr 2004 07:34:34 -0400 Original-Received: from fencepost.gnu.org ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.24) id 1BERba-0004We-FA; Fri, 16 Apr 2004 07:33:58 -0400 Original-To: Jason Rumney In-Reply-To: <407FBEFB.8090604@gnu.org> Original-Lines: 24 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:21749 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21749 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. Hmmm. Do you have any evidence of it working? I have stuff here involving several complicated things, and it would appear to me that the image stuff would be the most likely culprit. Anyway: if :heuristic-mask is true, but the majority of corner pixels is transparent, it would be nice if just transparency was used as the mask criterion. That way I get at least a heuristic mask if the image creating process does not support transparency, but get the transparence if it is available in the image. It is not always easy to know in advance. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum