[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XPM support for NSImage

From: Hubert Chan
Subject: Re: XPM support for NSImage
Date: Tue, 07 Nov 2006 22:10:03 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

On Tue, 07 Nov 2006 17:28:09 -0500, Adrian Robert <address@hidden> said:

>> It depends on libXpm, which is included in X11, or available from
>>  I'm not using any of the
>> X11-specific functions from that library.

> This may bother some people, especially those trying to deploy on
> Windows.  There is an alternative you might consider, which is to use
> code included in GNU Emacs (image.c) for XPM support (originally
> written for the Mac Carbon port by Yamamoto Mitsuharu).  See http://

Actually, libXpm has Windows support too, so it shouldn't be a problem
on that platform.

Honestly, though, the XPM format frightens me, and I'd rather use the
library written by the people who created the format, and if necessary
rip out the X11-specific bits.  (No offense meant to YAMAMOTO
Mitsuharu; I'm sure the patch that he wrote is good.)

libXpm also provides functions for writing XPM files, if I ever want to
add that as well.

Thanks for the link, though.  It's nice to see that someone was
courageous enough to write an XPM parser.

Hubert Chan - email & Jabber: address@hidden -
PGP/GnuPG key: 1024D/124B61FA   (Key available at
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]