[comp.archives] [comp.windows.x] Xloadimage patchlevel 04 now available

madd@world.std.com (jim frost) (02/22/90)

Archive-name: xloadimage/v1.04
Original-posting-by: madd@world.std.com (jim frost)
Original-subject: Xloadimage patchlevel 04 now available
Archive-site: expo.lcs.mit.edu [18.30.0.212]
Archive-directory: contrib
Archive-files: xloadimage*
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)

Xloadimage patchlevel 04 is now available.  Bug fixes include:

	* an allocation error in newBitImage that caused some
	  operations (particularly dithers) to fail.
	* -zoom and -view now work together
	* -border now works for monochrome displays
	* -onroot can clean up after previous loads

The patch can be had from expo.lcs.mit.edu via anonymous ftp in
/contrib/xloadimage.1.04.patch.Z.  If you don't have patchlevel 03,
it's also available in /contrib/xloadimage.1.03.tar.Z.

A quick summary of xloadimage capabilities:

Xloadimage is used to either display in a window or load onto the root
window images in several common image formats.  Currently supported
image formats are X10/X11 bitmap, PBM (but not PGM et al yet), Sun
Rasterfile (all but 24-bit formats), XPM, and GIF.  Images are
automatically identified while loading.

Xloadimage has several simple image processing functions such as
dithering, zooming, clipping, and color depth reduction built-in.
What this means to many people is that it can display color images on
a monochrome server or deep color images on shallow servers (eg 8 bit
images on 4 bit servers), and that you can alter the aspect ratio of
an image to match your display.  Many of these operations happen
automatically if xloadimage detects that your server could not display
the image as-is.

One question many people ask is "will it run on such-and-such".  It
has been tested on a very wide range of platforms using some strange
servers -- such as ISC 386/ix with 2- and 4-bit servers.  Most
platforms require no changes to compile.  Some platforms require minor
changes (such as omission or inclusion of different header files), but
these changes are usually very simple.

Some future version will support the full range of PGM/etc formats,
TIFF, and probably Sun Icon.  Anyone who has sample loaders or format
descriptions for these or other formats is encouraged to send them to
me.

Enjoy,

jim frost
saber software
jimf@saber.com