From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Emacs, colors and gdk-pixbuf. Date: Sun, 13 Apr 2003 21:17:30 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <921D608D-6DE4-11D7-BB92-00039363E640@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1050261522 1589 80.91.224.249 (13 Apr 2003 19:18:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Apr 2003 19:18:42 +0000 (UTC) Cc: David Kastrup Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Apr 13 21:18:40 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 194mzw-0000PU-00 for ; Sun, 13 Apr 2003 21:18:40 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 194n0x-0002Gi-00 for ; Sun, 13 Apr 2003 21:19:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194n0L-0001Km-04 for emacs-devel@quimby.gnus.org; Sun, 13 Apr 2003 15:19:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 194mzt-0001FF-00 for emacs-devel@gnu.org; Sun, 13 Apr 2003 15:18:37 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 194mzq-0001BH-00 for emacs-devel@gnu.org; Sun, 13 Apr 2003 15:18:36 -0400 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194mzo-00018w-00; Sun, 13 Apr 2003 15:18:33 -0400 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) h3DK9wbL006472; Sun, 13 Apr 2003 22:09:59 +0200 Original-To: emacs-devel@gnu.org X-Mailer: Apple Mail (2.552) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13211 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13211 Hello. Some time ago there was some discussion about improving image and color handling in Emacs. One suggestion as to use gdk-pixbuf to handle images. I have made some tests, the actual code to get gdk-pixbuf in is not that big. I haven't actually checked if this does make color handling better. But there are some issues I'd like some comments on. First, gdk-pixbuf is inherently single displayed. This means that Emacs would be limited to one display. Since GTK also is single-displayed (perhaps not 2.2, there has been talk about some changes, I haven't checked this yet), we could make gdk-pixbuf the default for GTK. The part of gdk-pixbuf is the part that renders into X11. Emacs could use its own version of this code, suitable modified. Is that something people think is OK (using private versions of other libraries)? Must license issues be investigated or is it OK to modify stuff from GTK? Another thing is that gdk-pixbuf may have been compiled with image support that is different from the one Emacs has today (i.e. gdk-pixbuf may not have, for example, TIFF support compiled in). Should we try to make a configure test to see what image types gdk-pixbuf supports, and then fall back to "native" support for the others? Or just fail at runtime if an image type is used that gdk-pixbuf supports? Comments welcome, Jan D.