close
R2026bClass: ImageAdapter
(Not recommended) Close ImageAdapter object
The close method of the ImageAdapter class is not recommended. Instead of ImageAdapter, use
a blockedImage
object. For more information, see Version History.
Syntax
close(adapter)
Description
close( closes the
adapter)ImageAdapter object and performs any necessary clean-up, such as closing
file handles.
Input Arguments
Tips
When you construct a class that inherits from the
ImageAdapterclass, you must implement this method.blockprocdoes not call theclosemethod. If your image adapter opens file handles or requires other class clean-up responsibilities, then you must call theclosemethod explicitly in your image processing pipeline.