Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | image |
This function can be used to find out whether the image is persistent on disk or not. There is a subtle difference from the image being virtual. For example, a virtual image which references another which is on disk is termed persistent.
- im := imagefromshape(outfile='tmp', shape=[10,20]) - im.ispersistent() T - im2 := imagefromimage(infile='tmp', region=drm.box()) - im2.ispersistent() F - im3 := im2.subimage() - im3.ispersistent() # Persistent virtual image ! T - im4 := imagecalc(pixels='tmp+tmp2') - im4.ispersistent() F