all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oliver Scholz <alkibiades@gmx.de>
Subject: XPM images
Date: Thu, 26 Sep 2002 04:32:33 +0200	[thread overview]
Message-ID: <m3it0to4zi.fsf@ID-87814.user.dfncis.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 784 bytes --]

Attached is my library to convert XPM images. If you like to include
it in Emacs, I would now go on and write a patch for images.el to use
it, if there is no XPM support compiled in.

But there are a few issues:

* The "splash.xpm" image that is displayed with the startup-message,
  is a little bigger. While the Lisp-conversion is IMO fast enough for
  small images like icons, it would slow down the startup notably to
  use it on splash.xpm.

* AFAICS the modified code in images.el would have to check the
  variable `image-types' to see, if XPM support is compiled in. This
  is fine so far, but my modification would lead to the end that
  emacs displays XPM images correctly, while ...

   (image-type-available-p 'xpm)

  ... returns nil.

What do you think?

    -- Oliver


[-- Attachment #2: xpm.el --]
[-- Type: application/emacs-lisp, Size: 12369 bytes --]

[-- Attachment #3: xpm-macs.el --]
[-- Type: application/emacs-lisp, Size: 4678 bytes --]

[-- Attachment #4: Type: text/plain, Size: 73 bytes --]


-- 
5 Vendémiaire an 211 de la Révolution
Liberté, Egalité, Fraternité!

             reply	other threads:[~2002-09-26  2:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-26  2:32 Oliver Scholz [this message]
2002-09-26 21:45 ` XPM images Richard Stallman
2002-09-26 23:45   ` Oliver Scholz
2002-09-28  3:20     ` Richard Stallman
2002-09-30  2:49 ` Richard Stallman
2002-09-30 12:10   ` Oliver Scholz
2002-10-01  6:17     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3it0to4zi.fsf@ID-87814.user.dfncis.de \
    --to=alkibiades@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.