Christoph Hormann <chr### [at] gmxde> wrote:
> What would be really interesting is a dynamically cached image map (i.e.
> one that actually loads tiles on demand). You would have to be careful
> when using the internal image reading functions for this though - they
> are not really intended to be used at render time.
One possibility would be to temporarily write the image in raw format
onto a file and then read parts of that file on demand. This would just
consume disk space instead of consuming RAM.
The difficulty in this is how to decide when to drop image parts from
the cache. There's no universal way of knowing how much memory is
available. One possibility would be for the user to specify manually
some value.
--
- Warp
Post a reply to this message
|