[comp.windows.x] XPM the new release - 3.0a

lehors@lemur.inria.fr (Arnaud Le Hors) (04/26/91)

I'm glad to annouce here that the next release of XPM is out. You can get it
from contrib on export.lcs.mit.edu and from pub on avahi.inria.fr. I don't
distribute diffs because so many things are modified that the diffs are bigger
than the whole package.

Here is an extract of the CHANGES file which tells you what to know:
-------
/* Copyright 1990 GROUPE BULL -- See licence conditions in file COPYRIGHT */
/**************************************************************************\
* 									   *
*  			HISTORY of user-visible changes			   *
* 									   *
\**************************************************************************/

3.0a		(91/04/10)

	This is an alpha version because it supports the new version of XPM,
	but the library interface is still the same. Indeed it will change in
	future release to get rid of obsolete stuff such as the type argument
	of the XWritePixmapFile function.

    ******************************* WARNING *********************************
	The format is not anymore XPM2, it is XPM version 3 which is XPM2
	limited to the C syntax with the key word "XPM" in place of "XPM2 C".
	The interface library has not changed yet but the type argument of
	XWritePixmapFile and the type member of XpmInfo are not used anymore.
	Meanwhile the library which is now called libXpm.a is backward
	compatible as XPM2 files can be read. But the XWritePixmapFile
	function only writes out XPM version 3 files.
    *************************************************************************

    NEW FEATURES:
	- the library doesn't use global variables anymore, thus it should be
	able to share it.
	- sxpm has been rewritten on top of Xt, it can be used to convert
	files from XPM2 to XPM version 3.
	- xpm1to2c.perl has been upgraded to the new XPM version and renamed
	as xpm1to3.perl
	- ppmtoxpm2.c and ppmtoxpm2.1 have been upgraded too and renamed
	ppmtoxpm.c and ppmtoxpm.1. In addition the xpmtoppm.c and xpmtoppm.1
	of the pbmplus package have been upgraded too. xpmtoppm can thus
	convert XPM version 1 and 3 to a portable pixmap. These files should
	replace the original ones which are part of the pbmplus package. See
	the ppm.README file for more details.
	- the library contains RCS variables which allows you to get revision
	numbers with ident (which is part of the RCS package). The Id number
	is an internal rcs number for my eyes only. The official one is found
	in Version.

    BUGS CORRECTED:
	- the memory management has been much improved in order to avoid
	memory leaks.
	- the XImage building algorythm has been changed to support correctly
	different visual depths. There is special code to handle depths 1, 4,
	6, 8, 24, and 32 to build the image and send it in one whack, and
	other depths are supported by building the image with XPutPixel which
	is slow but sure.
	- similar algorithms are used to read pixmaps and write them out.

    CHANGES TO THE DOC:
	- the documentation presents the new XPM format.


-- 
  Arnaud LE HORS     BULL Research France -- Koala Project, XPM Designer
  lehors@sa.inria.fr  Phone:(33) 93 65 77 71  Fax:(33) 93 65 77 66
  Inria Sophia Antipolis B.P.109 06561 Valbonne Cedex France

dennisg@kgw1.xetron.COM (Dennis Glatting) (05/02/91)

what is a XPM?

-- 
 ..!uunet!kgw2!dennisg  | Dennis P. Glatting
 dennisg@Xetron.COM     | so?

lehors@aenegada.inria.fr (Arnaud Le Hors) (05/06/91)

Extract from XPM README file:
-----
*** Copyright 1990 GROUPE BULL -- See licence conditions in file COPYRIGHT ***

                                XPM Version 3

WHAT IS XPM?
============

XPM (X PixMap) is a format for storing/retrieving X pixmaps to/from files.

Here is provided a library containing a set of three functions, similar to the
X bitmap functions as defined in the Xlib: XCreatePixmapFromData,
XReadPixmapFile and XWritePixmapFile for respectively including, reading and
writing this format.

This new version provides a C includable format, defaults for different types
of display: monochrome/color/grayscale, and symbol names for colors for
overriding default colors when creating the pixmap. In addition it provides a
structure for storing information while reading a file which is re-used while
writing. This way comments, default colors and symbol names aren't lost.

DISCUSSION:
==========

There is a mailing list to discuss about XPM which is xpm-talk@mirsa.inria.fr.
Any request to subscribe should be sent to xpm-talk-request@mirsa.inria.fr.

-----

  Arnaud LE HORS     BULL Research France -- Koala Project, XPM Designer
  lehors@sa.inria.fr  Phone:(33) 93 65 77 71  Fax:(33) 93 65 77 66
  Inria Sophia Antipolis B.P.109 06561 Valbonne Cedex France