"rise" <rise / knavery.net> wrote in message news:Pine.LNX.4.30.0105212246470.8838-100000 / leannan.knavery.net...
| 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.

Is there a list of supported graphics formats for Ruby Tk? I was unable to
find one in my searches. I could only get GIF files to work, not even PNG
files were acceptable. Thanks.

|
| 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...
|