To deliver the map reload performance currently achieved
by JViews Maps, raster
data for image objects is not saved in the .ivl
file
because this would slow down the .ivl
file
read time. Instead, all raster data is saved in a separate .img
file.
When reloading the map, this file can be mapped directly in memory
(if allowed by the operating system) for fast access and virtually
no parsing time.
Note that if the map does not contain an image, no .img
file
is generated with the .ivl
file.
Finally, the .ivl
and .img
file
extensions are defined by the Map Builder, but you are free to use
the API to give any filename you want to the map you are saving. It
is up to you to be consistent between the saving and loading processes.