1
如何在visualworks smalltalk中做到這一點?如何顯示來自網址的圖片?
如何在visualworks smalltalk中做到這一點?如何顯示來自網址的圖片?
問題解決了:
|req content reader|
req := HttpRequest
get:'http://news.bbcimg.co.uk/media/images/64001000/jpg/_64001280_63976026.jpg' asURI.
content:=req execute.
reader := JPEGImageReader new.
reader from: content byteSource.