Handbook
Glossary
load-http-image ( path -- image )
Vocabulary
images
.
http
Inputs
path
an
object
Outputs
image
an
object
Definition
USING:
accessors
http.client
images.http.private
images.loader
images.loader.private
io.pathnames
kernel
namespaces
opengl
present
;
IN:
images.http
:
load-http-image
( path -- image )
[
http-get
swap
content-type
]
[
present
file-extension
]
bi
or
(image-class)
load-image*
gl-scale-factor
get-global
[
2.0
=
>>2x?
]
when*
;