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 (http://tcl.ActiveState.com/software/plugin/) and Tk8.0+ can read base64 encoded GIF data via -data. Tk 8.3+ can read binary GIF data through -data.