Version 0 of TaeglicherStrahlungsBericht

Updated 2011-06-10 13:56:15 by tb

Code:

package require base64
package require http
package require Img

set hConn [::http::geturl http://odlinfo.bfs.de/bilder/germany_php.gif]
catch {set data [::http::data $hConn]}
catch {set imdata [::base64::encode $data]}
image create photo IMG -data $imdata
pack [label .l -image IMG] -fill both

I had to wait a little on my low end Core2Duo on Ubuntu32 for the image to get created from the base64 encoded data, so be a little patient ;)