From mboxrd@z Thu Jan 1 00:00:00 1970
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fee84,18d9dd593f604e0f
X-Google-Attributes: gidfee84,public
X-Google-ArrivalTime: 1994-08-03 14:36:44 PST
Path: bga.com!news.sprintlink.net!sun.cais.com!io.org!winternet.com!mr.net!umn.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!newsserver.jvnc.net!yale.edu!yale!charlie.silsoe.cranfield.ac.uk!P.Thanigasalam
From: P.Thanigasalam@silsoe.cranfield.ac.uk (Pillaiyar Thanigasalam)
Newsgroups: comp.unix.osf.osf1
Subject: Re: xwd portability
Date: Wed, 3 Aug 1994 15:16:11
Organization: SSLRC, Cranfield University
Message-ID:
References:
NNTP-Posting-Host: ssp003.silsoe.cranfield.ac.uk
X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
In article buck@netcom.com (Buck Foreman) writes:
>I created an X dump file with
>
> xwd -root > my.xwd
>I can display it fine using xwud, however when I try
>to display the same file on a Sun running Solaris with xwud,
>I get an image that is shifted and has a real funny color map.
>When I do the same xwd command on the Sun, dumping the same
>screen, I get a file which is 1024 bytes smaller than the one
>I got from the xwd on the OSF machine.
>I'm running OSF 2.0, and Solaris 2.3.
The problem here is the difference between 32 bit and 64 bit
machines. The xwd format is not really portable between the two.
Have a look at /usr/include/X11/XWDFile.h and you'll see what I
mean.
I have the same problem with RS/6000 and Alpha machines; I have
several xwd files that must be converted from 32 to 64 bit format.
Does anyone know of a program that can do this directly?
Thanks, Pillaiyar