On 3/21/06, Banlu Kemiyatorn <[EMAIL PROTECTED]> wrote: > On 3/20/06, Yen-Ju Chen <[EMAIL PROTECTED]> wrote: > > > > XPM is widely used in XWindow. > > If anyone can add XPM support into NSImage, > > it will be a great help for Azalea, a GNUstep window manager project. > > Here is a libXPM: http://koala.ilog.fr/lehors/xpm.html > > Emacs Cocoa seems to have an implementation based on libXPM. > > It would also be nice that XPM can be loaded directly from NSData, > > but there is a work-around if it can only be loaded from file. > > > > Thanx a lot. > > > > Yen-Ju > > > An easy way is by returning bitmap representation > for any unknown type and use image magic to > generate tiff stream.
But it adds a dependency on image magic. Since several people are writting a WM, it may be worth to have XPM support in NSImage. :D The file format of XPM is relatively simple in my opinion. I just cannot figure how to put stuff into NSImage. > > BTW. I too, am writing a WM :) Do you have any preview version which we can take a look at ? Thanx. Yen-Ju > > _______________________________________________ > Etoile-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/etoile-discuss > > > _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
