From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21927 invoked from network); 9 Oct 1998 05:18:17 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 9 Oct 1998 05:18:17 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id BAA25512 for ; Fri, 9 Oct 1998 01:13:25 -0400 Received: by paralleldata.com from localhost (router,SLMail V2.5); Fri, 09 Oct 1998 00:14:26 -0500 Received: by paralleldata.com from paralleldata.com (208.254.18.119::mail daemon; unverified,SLMail V2.5); Fri, 09 Oct 1998 00:14:23 -0500 Sender: "Wsb" Message-ID: <361D9B71.9C5C126@paralleldata.com> Date: Fri, 09 Oct 1998 05:13:21 +0000 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: kevin@meso.com CC: "axp-list@redhat.com" Subject: Re: Translating .xwd files? References: <9810082243.AA19670@nimbus.meso.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit kevin@meso.com wrote: > > Hi Wes, > > Well, we have 4.1, 4.2, 5.0, and 5.1 Alphas and they all have the netpbm > programs--we got the OS pre-installed, so they still must be > pretty standard--probably no one uses xwdtopnm much so no one > has noticed. > > At least, my problem has been solved. Turns out that ImageMagick > does have a command line interface, called "convert" which does > the trick--converts from .xwd to (color) .ps, GIF, and a whole lot > else. Pre-installed on the Linuxes, I installed it on our Digital Unix > and everybody's happy now. Another example of RTF Man pages. I would > surmise that the netpbm stuff, being from 1990-91, is falling by the wayside > in favor of the versatile ImageMagick. So I doubt we'll see a fix > for xwdtopnm, although it really should be done if it is distributed with > RH Alpha packages. > > Thanks for your interest! I'm going to summarize this and re-post > to the axp-list. > All you need to do is remove all the 'long' definitions and replace them with 'int' in xwdtopnm.c, x10wd.h, and x11wd.h. Then recompile and it worked fine on my test case.... Probably could do that for all the source and it would work OK. Just poor selection of variable size on the programmer's part. Jef Poskanzer, according to the header. Also, it seems this code and the original Intel binary, are not able to handle more than 8 bit displays. Given the code was written in 90-91, that isn't surprising. Not many people had good graphics in that time frame. Didn't look at whether that is easy to fix or not... Wes