| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1488 |
|
| Package | general | |
| Module | images | |
| Tool | image |
| done | in | Destroy this tool after deletion | |
| Allowed: | T or F | ||
| Default: | T | ||
This function first closes the image tool which detaches it from its underlying image file. It then deletes that image file. If done=F, the image tool is still viable, and can be used with function open to open a new image file. Otherwise the image tool is destroyed.
- im := image('myimage') # Attach to `myimage'
- im.delete(F) # Close imagetool and delete `myimage'
- im.open('myotherimage') # Open new imagefile `myotherimage'