Clearing an Image from Image View

I have been playing around with:

set tNewImage to load image (item pImageIndex of pImagePaths)
set image of image view “imageView” of window “imageViewer” to tNewImage
set tOldImage to image of image view “imageView” of window “imageViewer”
delete tOldImage

and it works well.

I want to clear the image view. It is probably really simple but can’t find any reference on how to achieve it.

delete tOldImage appears to just remove the stored image from a buffer. I think.

Can anybody please help.



I think “delete image of image view.” should clear it.

See also: load image

Thanks gaurdian34

The obvious is sometimes not so obvious.