[ By Archive-name | By Author | By Category | By Newsgroup ]
[ Home | Latest Updates | Archive Stats | Search | Usenet References | Help ]

    Search the FAQ Archives

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page

Top Document: Motif FAQ (Part 5 of 9)
Previous Document: 141) Why does XpmCreatePixmapFromData fail with a pixmap containing
Next Document: 143) How can I use Motif's pre-defined pixmaps?


142) How can I convert a Sun/GIF/TIFF image to a pixmap?


[Last modified: Oct 94]

Answer: An application called "xv" (interactive image display for the X Window
System) is useful for displaying and converting many image formats. From the
man page:

xv is an X11 program that displays images in the GIF,  JPEG,
TIFF,  PBM, PGM, PPM, X11 bitmap, PDS/VICAR, Sun Rasterfile,
and PM formats on 1-, 2-, 4-, 6-, 8-, 16-, 24-, and 32-bit X
displays.   xv  will also read compress-ed versions of these
files.

You can get "xv" (shareware by John Bradley et al) from:

ftp://ftp.cis.upenn.edu/pub/xv
or:
ftp://ftp.x.org/R5contrib/

Another useful conversion package is "pbm" (portable bitmap file format) by
Jef Poskanzer et al, available from:

ftp://ftp.x.org/R5contrib/
or:
ftp://ftp.x.org/R5contrib/ (much older :-)

You might also want to check the X11 FAQ for additional conversion options:

ftp://ftp.x.org/contrib/faqs/FAQ




Top Document: Motif FAQ (Part 5 of 9)
Previous Document: 141) Why does XpmCreatePixmapFromData fail with a pixmap containing
Next Document: 143) How can I use Motif's pre-defined pixmaps?

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page


[ By Archive-name | By Author | By Category | By Newsgroup ]
[ Home | Latest Updates | Archive Stats | Search | Usenet References | Help ]


Send corrections/additions to the FAQ Maintainer:
kenton@rahul.net (Ken Lee)

Last Update July 09 2008 @ 00:14 AM

© 2008 FAQS.ORG. All rights reserved.