| Description: |
If I create a bitmap image with some image data,
display it, and then reconfigure it to have some
different data (see the example code below) then this
change in the data is not displayed *on UNIX/X only*.
This works correctly on Windows (though it is slow as
the size of the bitmap increases...)
set e {#define empty_width 4
#define empty_height 4
static char empty_bits[] = {
0x00, 0x00, 0x00, 0x00};}
set f {#define full_width 4
#define full_height 4
static char full_bits[] = {
0x0f, 0x0f, 0x0f, 0x0f};}
image create bitmap b -data $e
pack [label .l -image b]
after 3000 {b configure -data $f}
I originally noticed the problem using the script
http://www.cs.man.ac.uk/~fellowsd/tcl/bitsandpieces/bitmap.tcl
(recombine URL?)
|