Yes, they do PBM internally, but it looks like they don't do
PPM at all. GNU's color icons are all in XPM. (They do
duplicate the icons used by tree-widget.el in PNG). I don't
see that PBM is a huge win over XBM, which I assume we
already do internally for Windows.
I don't think there are any pixmap formats that are simple
enough to do internally (except maybe Windows BMP, which I
know nothing about). The problem is that there are just too
many ways to tweak pixmap representations, and people want
the formats they use to handle several varieties.
Ben> I really hate the idea of depending on external libraries for
Ben> necessary functionality.
I think that's awfully extreme. XPM has always been a hairy
icky thang epitomizing the whole X11 swamp, but libpng,
netpbm, libjpeg, and zlib are pretty bullet-proof and have
been stable for years.
Ben> If all this is true, I'd suggest just copying the GNU code
Ben> and doing the same switch.
-0 (== I'm unfavorable and won't contribute effort, but won't veto.)
Well, it's irrelevant anyway since "if all this is true ..." is false.