openToWrite
Create and open destination for writing
Description
openToWrite(
opens the location specified by the obj
,destination
,info
,currentlevel
)string
scalar
destination
for writing. info
is a scalar
structure that describes the object. currentlevel
is an integer-valued
scalar indicating the current level for which data will be written.
Use this method to prepare the destination for writing. For example, open file handle or
create destination folder, or write file header or meta data to the destination. When
writing multiresolution (pyramid) images, openToWrite
is called for each
level before the corresponding level's setIOBlock
is called.