Download image into a brush
Posted: Sun Feb 07, 2021 3:23 pm
Hi
I would like to download an image into a brush. That's what I came up with:
Is there a better way to do this, without having to save a temp file to the filesystem?
Cheers,
Michael
I would like to download an image into a brush. That's what I came up with:
Code: Select all
DownloadFile("https://www.hollywood-mal.com/img/title.png", { File = "temp.brush", Adapter = "hurl" }) ; using hurl for https
LoadBrush(1, "temp.brush")
Cheers,
Michael