From: rise Date: 2001-05-22T14:01:52+09:00 Subject: [ruby-talk:15522] Re: Tk Bitmaps On Tue, 22 May 2001, John Kaurin wrote: > The following code works when I use a bitmap from the Ruby Tk demos kit > ("flagup.bmp"), but not when I use a bitmap I created with Microsoft Paint or > other packages. I get the opposite reaction from MS Paint, it will not read > the "flagup.bmp" (not a valid bitmap file). MS Paint creates a "Windows Bitmap" which is a different file format. The bitmaps in the Tk demos are XBM (X11/X10 bitmap) files. Most of the more advanced graphics suites should be able to work with them. Thanks for pointing out this gotcha, I'll add a note in the README. BTW, I've finally found time to do a maintenence release of the demos so anyone who's got a bug or addition should drop me a line in the next week or so. -- Jonathan Conway The thing about Unix is that all the hoops are rise@knavery.net flaming, so at least you know where they are...