http://www.perlmonks.org?node_id=115328


in reply to passing anything from GD to Tk ???

Hmm..I suppose this is becoming something for the GUI FAQ. This question has been asked a few days ago on the ptk mailinglist, which I responded with this suggestion:

If you use MIME::Base64, and base64-encode the data, before feeding it to Tk, you can use the image you created with GD in Tk. I've used it in pVoice 0.01, where I resize a JPG with GD before using it in a Tk button.

HTH,

Jouke Visser, Perl 'Adept'
Using Perl to help the disabled: pVoice and pStory