简体   繁体   English

如何从 Smalltalk 中的 URL 获取图像?

[英]How I can get the image from URL in Smalltalk?

I have some URL string, how I can get the image from URL?我有一些 URL 字符串,如何从 URL 获取图像? I'm using VisualWorks 9.2我正在使用 VisualWorks 9.2

(URI fromString: yourString) readStream will produce a stream to read the data from. (URI fromString: yourString) readStream将产生一个 stream 来读取数据。

You can also use HttpClient get: url .您还可以使用HttpClient get: url

You may want to load the TLS plugin parcel in oder to support https.您可能需要加载TLS plugin包以支持 https。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM