Bitmaps & tgif

Jim Searle (jims@vlsi-az.sps.mot.com)
Wed, 23 Mar 1994 06:47:30 -0700

( My previous mail was chopped off so I'm resending it...)

Hi,

I'm trying to create a bitmap and include it as a background in tkined. I have
created the bitmap with tgif that is just a box and when I print it to a file
and view it with ghostview it look very strange. The box is printed multiple
times around the page.

Here's what the bitmap file looks like:

#define NewBuilding_width 1383
#define NewBuilding_height 1063
static char NewBuilding_bits[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
[ bitmap removed ]
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80};

Any ideas?

jim

--
| Jim Searle   Searle-ljs021@email.mot.com                                    |
| Motorola ISG VLSI Technolgy Center                                   __ O   |
| 2701 S. Roosevelt, Tempe Arizona 85282                             _ \ <_   |
|___________________________________________________________________( )/ ( )__|