Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: kevin@meso.com
Cc: "axp-list@redhat.com" <axp-list@redhat.com>
Subject: Re: Translating .xwd files?
Date: Fri, 09 Oct 1998 05:13:21 +0000	[thread overview]
Message-ID: <361D9B71.9C5C126@paralleldata.com> (raw)
In-Reply-To: 9810082243.AA19670@nimbus.meso.com

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


       reply	other threads:[~1998-10-09  5:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9810082243.AA19670@nimbus.meso.com>
1998-10-09  5:13 ` Wes Bauske [this message]
1998-10-07 17:55 Translating .xwd files? kevin
1998-10-07 18:25 ` Jeff Sturm
1998-10-07 20:29   ` kevin
1998-10-08  3:07     ` Wes Bauske
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox