Advanced Search
Mail us
Home    Manuel    Links    Faq    Submit a tcl/tk Reference    Contact Us

    Some examples tcl/tk codes     Man of Bwidget     Man of blt     mkwidget screenshots     TkOgl     Video Demo real.

  How can I specify bitmap/image patterns on the command line instead of as a file name? What is the format of the `-data` option for images?
 For XBM and PPM formatted images, the `image` command in Tk allows you
to pass a `-data` option that would contain the image data in the same
format as you`d have in a file.

*Note:* The Tk plugin (
and Tk8.0+ can read base64 encoded GIF data via `-data`, but this isn`t
available in Tk4.2- unless you get the excellent Tk plus patch
( by Jan Nijtmans