| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1488 |
|
| Package | general | |
| Module | images | |
| Tool | image |
| name | in | The new image file name | |
| Allowed: | String | ||
| overwrite | in | Overwrite target file if it already exists | |
| Allowed: | T or F | ||
| Default: | F | ||
This function renames the image file associated with the image tool. If a file with name name already exists, you can overwrite it with the argument overwrite; otherwise a fail will result.
- im := image('myimage')
- im.name(strippath=T)
myimage
- im.rename('newimage', overwrite=T)
- im.name(strippath=T)
newimage