[comp.windows.x] XPM Latest Version

totty@flute.cs.uiuc.edu (Brian Totty) (12/21/90)

		(Sorry about the previous posting without a subject)

	What is the latest version of the XPM libraries?  I have a document
	that describes version 2.4 whose definition of XCreatePixmapFromData
	is very different from that described in the library I ftp'ed from
	avahi.inria.fr last night.  I may have grabbed the wrong version.

	The library code defines this:

		Pixmap XCreatePixmapFromData(display, d, colormap, width,
		    height, depth, ncolors, chars_per_pixel, colors, pixels)

	but the document describes a call which is much more similar to
	XReadPixmapFile:

		int XCreatePixmapFromData(display, visual, d, colormap, data,
		    depth, pixmap_return, width_return, height_return,
		    pixels_return, npixels_return, colorsymbols, 
		    numsymbols, infos);

	What's the current library??????

   /                      Brian Totty              o o
  /__  __  o       1304 W. Springfield Avenue       o  
 /  / /   /             Urbana, IL 61801           \_/  "We have corn in
/__/ /   /             totty@cs.uiuc.edu                Massachusetts too!"

lehors@avahi.inria.fr (Arnaud Le Hors) (12/21/90)

The current version is 2.8. I guess you grab xpm.tar.Z which is the distrib of
XPM1, you should rather grab xpm-2.8.shar.Z and xpm-2.8.ps.Z which are the last
versions, I have cleaned up the ftp pub dir to avoid confusion.

--
   Arnaud LE HORS	XPM2 Designer
   BULL Research FRANCE -- Koala Project   |    Email : lehors@mirsa.inria.fr
         Inria - Sophia Antipolis          |    Phone : (33) 93 65 77 71
         2004, Route des Lucioles          |    Telex :      97 00 50 F
         06565 Valbonne CEDEX  France      |    Fax   : (33) 93 65 77 66

abm@alan.Apple.COM (Alan Mimms) (12/22/90)

Ok.  I thought I was familiar with most of the X11 world alphabet soup.
But "XPM" eludes my mind-like-a-steel-sieve...

What the heck is an "XPM" anyway?  The announcement of bug fixes and
improvement doesn't lead to any particularly great insight (for me, at
least) into this question.

-- 

Alan Mimms (alan@apple.com, ...!apple!alan)   | My opinions are generally
A/UX X group                                  | pretty worthless, but
Apple Computer                                | they *are* my own...
"Laugha whila you can, monkey boy..." -- John Whorfin in Buckaroo Bonzai
"Never rub another man's rhubarb" -- The Joker in BatMan

colas@lemur.inria.fr (Colas Nahaboo) (12/26/90)

In article <11611@goofy.Apple.COM>, abm@alan.Apple.COM (Alan Mimms) writes:
> What the heck is an "XPM" anyway? 

XPM is a text format for X pixmaps.

XPM stands for X PixMap, and we call X BitMaps XBMs



Just as X11 has a de-facto bitmap standard, which is NOT ansi-normalized, BUT
very useful for developpers (C includable), we felt that there was a need for
a standard, developper-friendly format of color pixmaps.
So we developped XPM, which we hope will succeed as a de-facto standard, and:

	supports default colors for mono, greyscale & color visuals

	is color-redefinable at load time
		you can provide symbolic names for colors and define them at
		load time ,allowing you to have the same XPM for icons in 
		applications with different colors (or application whose
		colors have been customized)

	C, C++, Lisp, (or any language) - includable
		Useful for the developper...

	good quality read/write/inclusion library code freely available
		(in fact its MAJOR advantage now...) patterned along the 
		existing Xlib primitives for XBMs

	textual (hand-editable)
		Do you know a good (I mean better than emacs :-)) editor?
		(compression of data is optionally handled by compress, not
		built-in in the format)

In the spirit of X, we hope it will succeed because it is useful, not because 
it is forced on you by some comitee. (religious opinion here).

All opinions/critics are welcome, drop by our BOF January Tuesday 15th at the X
conf...

--
Colas Nahaboo, Bull Research France -- Koala Project -- GWM X11 Window Manager
Internet: colas@mirsa.inria.fr, Phone: (33) 93.65.77.70, Fax: (33) 93 65 77 66
INRIA Sophia, 2004, rte des Lucioles, B.P.109 - 06561 Valbonne Cedex, FRANCE