[英]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.