Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ucsd!ucsdhub!esosun!seismo!uunet!cacilj!paul From: paul@cacilj.UUCP (Paul Close) Newsgroups: comp.windows.x Subject: Re: Why doesn't xmag work with 8-bitplane images? Message-ID: <891@cacilj.UUCP> Date: 8 Feb 89 18:47:58 GMT References: <887@cacilj.UUCP> <8902011901.AA01516@EXPIRE.LCS.MIT.EDU> Reply-To: paul@cacilj.UUCP (Paul Close) Organization: CACI Products Company, La Jolla, CA Lines: 40 Summary: Expires: Sender: Followup-To: Distribution: Keywords: In article <8902011901.AA01516@EXPIRE.LCS.MIT.EDU> rws@EXPO.LCS.MIT.EDU (Bob Scheifler) writes: >xmag is broken in that it doesn't attempt to use the visual or colormap >of the selected window. If xim selects a new colormap, xmag won't do >the right thing. If your problem is something else, try asking again. The problems don't exist on a Sun-4, but they do exist on the Apollo, so I am assuming this is an Apollo-specific bug. This is under SR10.0 with the MIT code. I think I applied the first three patches. This is a server bug. (I've run the sun-4's xmag on the apollo display and it doesn't work.) I tried 'puzzle -picture mandrill.cm' to use the default colormap, and still got the strange colors and lack of depth. I tried 'puzzle -picture mandrill.cm -cm' to make a new colormap (which produces strange colors) and the problem persists. The color numbers xmag talks about are ALWAYS in the range 0-15, and there are usually only four distinct values. [ Is the new colormap problem one of those "hallucinogenic bugs" Dave Rosenthal was talking about? :-] Also (Apollo only), xmag is prone to displaying wide horizontal bands instead of the actual pixels, even on black & white images like xterm. For example, instead of:, sometimes I get: ............................. ............................. ............................. ............................. .....X.........X............. XXXXXXX........X............. .....X.........X.....XX...... .....X.........X..........XX. .....X.........X............. XXXXXXX........X............. .....X.........X.....XX...... .....X.........X..XXXXXXXXXX. .....XXXXXXXXXXX......X...... XXXXXXXXXXXXXXXX...........X. .....X.........X......X...... .....X.........X...........X. .....X.........X......X...... XXXXXXX........X...........X. .....X.........X......X...... .....X.........X...........X. .....X.........X....XXXXX.... XXXXXXX........X..XXXXXXXXXXX ............................. ............................. ............................. ............................. -- Paul Close paul@cacilj.CTS.COM ...!{uunet, ucsd, crash}!cacilj!paul The Obi-wan Kenobi method: "Use the Source, Luke" -Jim Fulton