From: Alan F. <fo...@jm...> - 2004-08-09 16:04:20
|
Hi Folks- I have a need to print an image of a canvas. Using the Img extension I save the contents to a file. This works on Windows and Linux, but using both the 8.4.6.1 and 8.4.7 releases of TclTkAqua gives the image, but with the colors all messed up. I tried running the CanvasToImg entry in the Activestate Tcl Cookbook, http://aspn.activestate.com/ASPN/Cookbook/Tcl/Recipe/68411 This correctly produces files on Linux and Windows. Under OS X 10.3 and either version of TclTkAqua, I get simple black boxes for all three (gif, png, jpeg) image formats. I'm trying to finish a project, up against a deadline, and of course, the last thing I need to finish is some way of printing these images reliably. On a different note, can I get an example of using Wishkit to wrap an executable for OSX? I can't find tclkit on the distribution, and need to bundle up two scripts, Img, Bwidget and VFS::mk4 into a single executable. Thanks for any help. Al -- ======================================================== Alan L. Folsom, Jr. fo...@jm... JMI Software Consultants (215) 293-9221 200 Gibralter Rd, Suite 315 FAX: (215) 293-9269 Horsham, PA 19044 ======================================================== |