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: 21 Apr 2004 01:31:34 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082504098 32701 80.91.224.253 (20 Apr 2004 23:34:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Apr 2004 23:34:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 21 01:34: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 1BG4lQ-0008Jn-00 for ; Wed, 21 Apr 2004 01:34:52 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BG4lQ-0008Q1-00 for ; Wed, 21 Apr 2004 01:34:52 +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 1BG4kz-0007J8-U6 for emacs-devel@quimby.gnus.org; Tue, 20 Apr 2004 19:34:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BG4kM-0007Gf-Gd for emacs-devel@gnu.org; Tue, 20 Apr 2004 19:33:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BG4jo-00077T-4z for emacs-devel@gnu.org; Tue, 20 Apr 2004 19:33:43 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BG4iL-0006wf-Av for emacs-devel@gnu.org; Tue, 20 Apr 2004 19:31:41 -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 1BG4h5-00015O-Sn; Tue, 20 Apr 2004 19:30:24 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: Original-Lines: 31 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:21967 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21967 storm@cua.dk (Kim F. Storm) writes: > David Kastrup writes: > > > PNG images support transparency. Emacs can't make use of it. You can > > only have Emacs declare a particular color as transparent. This is > > dissatisfactory. It should tell the PNG decoding routines Emacs' > > background color for the purpose of transparency. > > > > I would find it important if an image specifier could restrict the > > displayed portion of an image. > > I have just implemented image slicing via a new slice property: > > display ((slice X Y WIDTH HEIGHT) (image ...)) Does that imply that slicing is not only applicable to images? Anyway, I have been wondering about how to make slicing an image property while being able to reuse the image for several slices. Making this a separate property of course solves that concern. The effect would presumably be that only the selected slice of the image gets displayed, right? And if the current line height exceeds that of slices in consecutive rows, then there would be white space between them, right? Does anybody know offhand whether one can _reduce_ the linespacing to "tight" for a given interval? It probably will not be "crucial" though. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum