[comp.windows.x] Bitmap

ccli@nysnet.nysnet (Chia-Chih Li) (01/22/91)

Hi,
   Is there any existing command in X which can list information about bitmap
files. For instance, tiffinfo command can list information of TIFF files, 
such as palette color image, RGB color image, grayscale image, how many bits
per pixel, dimension of image, compression scheme, planar configuration, etc.
Any help would be appreciated.
 
                               Have a nice day !!!
  
                                                      Jason  Li
                                                      Strategic System Labs

koe@kivax.UUCP (Diana Koehler) (04/17/91)

Hello,

I have several bitmaps (created with a scanner) and I want to display 
them within a Motif-Application.

How does the bitmap have to be formatted, that it can be interpreted
by Motif-applications.

(f.e Some times ago I have seen the picture of a mandrill. I think
     that the bitmap is NOT created with the bitmap editor "bitmap".)

Does there exist an other tool for creating bitmaps?

Any help would be apreciate.
Thanks in advance

Diana


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

Diana Koehler                     Tel.:   +49 7721 867034
Digital Kienzle 
Computersysteme
Abt. 011.2                        e-mail: koe@kivax.UUCP
Postfach 1640                             ..!mcsun!unido!kivax!koe
D-7730 VS-Villingen                       ..!uunet!unido!kivax!koe

larryc@poe.jpl.nasa.gov (Larry Carroll) (04/19/91)

(This bounced when I tried to email direct.  I'm sorry if it bothers anyone.)
From the comp.graphics FAQ

There are a number of toolkits for converting from one image format to
another, doing simple image manipulations such as size scaling, plus
the above-mentioned 24 -> 8, color -> gray, gray -> b&w conversions.
Here are pointers to some of them:

    PBMPLUS, by Jef Poskanzer.  Comprehensive format conversion and image
    manipulation package.  The latest version is always available via
    anonymous FTP as expo.lcs.mit.edu:contrib/pbmplus.tar.Z and
    ftp.ee.lbl.gov:pbmplus.tar.Z.  The version of 22nov89 (which currently
    is still the latest version, except for the one official patch so far)
    was posted to comp.sources.misc, and is therefore accessible via mail
    to one of the archive servers.  This version is also available in the
    X11R4 release tape.

    IM Raster Toolkit, by Alan Paeth (awpaeth@watcgl.uwaterloo.ca).
    Provides a portable and efficient format and related toolkit.  The
    format is versatile in supporting pixels of arbitrary channels,
    components, and bit precisions while allowing compression and machine
    byte-order independence.  The kit contains more than 50 tools with
    extensive support of image manipulation, digital halftoning and format
    conversion.  Previously distributed on tape c/o the University of
    Waterloo, an FTP version will appear someday.

    Utah RLE Toolkit.  Conversion and manipulation package, similar to
    PBMPLUS.  Available via FTP as cs.utah.edu:pub/urt-*,
    weedeater.math.yale.edu:pub/urt-*, and freebie.engin.umich.edu:pub/urt-*.

    Fuzzy Pixmap Manipulation, by Michael Mauldin <mlm@nl.cs.cmu.edu>.
    Conversion and manipulation package, similar to PBMPLUS.  Version 1.0
    available via FTP as nl.cs.cmu.edu:/usr/mlm/ftp/fbm.tar.Z,
    uunet.uu.net:pub/fbm.tar.Z, and ucsd.edu:graphics/fbm.tar.Z.

    Img Software Set, by Paul Raveling <raveling@venera.isi.edu>.  Reads and
    writes its own image format, displays on an X11 screen, and does some
    image manipulations.  Version 1.3 is available via FTP as expo.lcs.mit.edu:
    contrib/img_1.3.tar.Z, and venera.isi.edu:pub/img_1.3.tar.Z along with
    a large collection of color images.

    Xim, by Philip R. Thompson.  Reads and writes its own image format,
    displays on an X11 screen, and does some image manipulations.
    Available in your nearest X11R4 source tree as contrib/clients/xim.
    A more recent version is available via ftp from video.mit.edu.  It uses
    x11r4 and the OSF/Motif toolkit to provide basic interactive image
    manipulation and reads/writes GIF, xwd, xbm, tiff, rle, xim, and other
    formats.

    xloadimage, by Jim Frost <madd@std.com>.  Reads in images in various
    formats and displays them on an X11 screen.  Available via FTP as
    expo.lcs.mit.edu:contrib/xloadimage*, and in your nearest comp.sources.x
    archive.

    TIFF Software, by Sam Leffler <sam@okeeffe.berkeley.edu>.  Nice
    portable library for reading and writing TIFF files, plus a few tools
    for manipulating them and reading other formats.  Available via FTP as
    ucbvax.berkeley.edu:pub/tiff/*.tar.Z or uunet.uu.net:graphics/tiff.tar.Z

    ALV, a Sun-specific image toolkit.  Version 2.0.6 posted to
    comp.sources.sun on 11dec89.  Also available via email to
    alv-users-request@cs.bris.ac.uk.

    popi, an image manipulation language.  Version 2.1 posted to
    comp.sources.misc on 12dec89.

    ImageMagick, an X11 package for display and interactive manipulation
    of images.  Uses its own format (MIFF), and includes some converters.
    Available via FTP as expo.lcs.mit.edu:contrib/ImageMagick.tar.Z

    Khoros, a huge (~100 meg) graphical development environment based on
    X11R4.  Khoros components include a visual programming language, code
    generators for extending the visual language and adding new application
    packages to the system, an interactive user interface editor, an
    interactive image display package, an extensive library of image and
    signal processing routines, and 2D/3D plotting packages.  Available via
    FTP as pprg.unm.edu:pub/khoros/*.

Don't forget to set binary mode when you FTP tar files.  For you MILNET
folks who still don't have name servers, the IP addresses are:

    expo.lcs.mit.edu            18.30.0.212
    ftp.ee.lbl.gov              128.3.254.68
    cs.utah.edu                 128.110.4.21
    nl.cs.cmu.edu               128.2.222.56
    venera.isi.edu              128.9.0.32
    ucbvax.berkeley.edu         128.32.133.1
    weedeater.math.yale.edu     130.132.23.17
    freebie.engin.umich.edu     141.212.68.23
    pprg.unm.edu                129.24.13.10