[comp.windows.x] Help wanted -- Gif's on a 3/50

jpeters@saavik.bbn.com (Jim Peters) (03/08/91)

I want to look at some GIF files on my 3/50, but the xgif program I have
complians about having a need for an 8-plane display.  Unfortunately, I
don't have a 3/60 or Sparc at my disposal.  The least that I would expect I
have to do is to convert it to another format.  Which, what and how?
Thanks.

				-- Jim.

gwh@cheetah.inmos.co.uk (Graham Hudspith) (03/10/91)

A quick answer to this question is to look in the FAQ (Frequently Asked
Questions), usually found in .../X.V11R4/contrib/FAQ on your local
infoserver/ftp site. If you don't know of such a site, keep reading this
newsgroup, the FAQ is updated and reposted once a month.

Anyway, here is the relevant section from said FAQ:

----------------------------------------------------------------------
Subject: 67)* How do I convert/view Mac/TIFF/GIF/Sun/PICT/img/FAX images in X?

	The likeliest program is an incarnation of Jef Poskanzer's useful++ 
Portable Bitmap Toolkit, which includes a number of programs for converting 
among various image formats. It includes support for many types of bitmaps, 
gray-scale images, and full-color images. The latest version, PBMPLUS, was 
posted to the net about 11/22/89; it is also on the R4 tape under 
contrib/clients/pbmplus and is frequently updated.
	The package has been independently updated to support XPM images for
pixmaps. There are also several patches to various modules floating around.

	Useful for viewing some image-formats is Jim Frost's xloadimage, a
version of which is in the R4 directory contrib/clients/xloadimage -- there
are later versions available. 

	An alternate image-viewer is xv (X Image Viewer), written by 
bradley@halibut.cis.upenn.edu (John Bradley) and distributed as comp.sources.x 
Volume 10:79. [12/90]

	ImageMagick by cristy@dupont.com can be retrieved as the file 
contrib/ImageMagick.tar.Z (no patch level) from expo.lcs.mit.edu.  It is a 
collection of utilities to transform and display images on any X server. The
tool uses the MIFF format; filters to and from MIFF from other popular formats 
(PPM, TIFF, GIF, SUN Raster, etc) are included.

	xtiff is a tool for viewing a TIFF file in an X window.  It was written
to handle as many different kinds of TIFF files as possible while remaining
simple, portable and efficient.  xtiff illustrates some common problems
with building pixmaps and using different visual classes.  It is distributed
as part of Sam Leffler's libtiff package and it is also available on
expo.lcs.mit.edu, uunet.uu.net and comp.sources.x. [dbs@decwrl.dec.com, 10/90]

----------------------------------------------------------------------

Here we use both xloadimage and xv.

Pros of xloadimage:
    Can display a LOT of file formats.
    Can do a LOT of transformation of images.
    Tries to keep in sync with all of formats supported by Pbmplus.

Pros of xv:
    By re-sizing window, can re-size image.
    Can cut out sections of image.
    Can write images/cutouts into other formats.
    Will display as much of a (corrupted) image as possible.

I personally prefer xloadimage, but I also prefer twm against mwm/olwm!! ;-)

Happy archive hunting,

	Graham.


Graham W. Hudspith  INMOS Ltd, Bristol | EMail(UK) ukc!inmos!gwh
---------------------------------------|     or    gwh@inmos.co.uk
I wouldn't give a XXXX for any other   | Internet: gwh@inmos.com
  windowing system                     | UUCP:(US) uunet!inmos.com!gwh