Xref: utzoo comp.windows.x:30002 comp.windows.misc:1679 comp.windows.news:2472 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!bu.edu!purdue!haven!decuac!bacchus.pa.dec.com!shodha.enet.dec.com!widgit.enet.dec.com!west From: west@widgit.enet.dec.com (Jim West (Stealth Contractor)) Newsgroups: comp.windows.x,comp.windows.misc,comp.windows.news Subject: Re: X window Message-ID: <2068@shodha.enet.dec.com> Date: 29 Nov 90 13:28:35 GMT Sender: news@shodha.enet.dec.com Followup-To: comp.windows.x Organization: Digital Equipment Corporation Lines: 32 In article <499@lovelace.albany.edu>, ccl@cs.albany.edu (Chia-Chih Li) writes... >Hi World, > >>used two Xlib routines, XReadBitmapFile and XPutImage, for the displaying >>inside the expose procedure. Core dump occurred in the earlier testing and now >> I'm getting errors for XReadBitmapFile. I'm not really sured the two Xlib Here is the start of the problem. TIFF format is not Bitmap format. A bitmap has only a depth of 1 plane and is stored in a file in a particular manner. TIFF is an image format that is foreign to the X Window environment. What you will need to do is write your application so that it can understand the TIFF format and then convert to an image format the X understands. This is usually not trivial. You may want to look in comp.sources.x for several utilities, like the Portable Bitmap Plus (PBM+) utilties that can do this for you. -=> Jim <=- ---------------------------------------------------------------------- Jim West | The Schainker Converse west@widgit.enet.dec.com | to Hoare's Law : | These are my opinions. | Inside every small problem Digital has no idea | is a larger problem struggling what I'm saying. | to get out. ----------------------------------------------------------------------