Bitmaps & tgif

Jim Searle (jims@vlsi-az.sps.mot.com)
Tue, 22 Mar 1994 14:04:30 -0700

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.

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                             _ \ <_   |
|___________________________________________________________________( )/ ( )__|
|                                                                             |
| "I was just trying to help your bitter, twisted friend."                    |
|    "She's not bitter."                                                      |
| "Well, bitter's a judgement call, but she's twisted."                       |
|                    - Jerry and Elaine, in "The Fix-Up"                      |
|_____________________________________________________________________________|