Derive worldfile name from image filename
worldfilename = getworldfilename(imagefilename)
worldfilename = getworldfilename(imagefilename) returns
the name of the corresponding worldfile derived from the name of an
The worldfile and the image file have the same base name. If
the “.3” convention, then you create the worldfile extension
by removing the middle letter and appending the letter
imagefilename has an extension that does
not follow the “.3” convention, then a
appended to the full image name to construct the worldfile name.
imagefilename has no extension, then
appended to construct a worldfile name.
Given the following image filenames,
return these worldfile names:
Image File Name