place the downloaded image on top of the layer stack
parent
455ac21912
commit
3ba20036e3
|
|
@ -389,6 +389,7 @@ class IO {
|
||||||
}
|
}
|
||||||
|
|
||||||
static async urlToLayer(image_url, image_file_name = 'image_from_url.png') {
|
static async urlToLayer(image_url, image_file_name = 'image_from_url.png') {
|
||||||
|
await psapi.unselectActiveLayersExe()
|
||||||
const temp_entry = await fs.getTemporaryFolder()
|
const temp_entry = await fs.getTemporaryFolder()
|
||||||
await downloadItExe(image_url, temp_entry, image_file_name)
|
await downloadItExe(image_url, temp_entry, image_file_name)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue