Øyvind Kolås wrote:
I discussed this on irc with dsrogers,. by adding a padding value, you can invalidate tiles that are entirely composed of that value,. since those are the values that will be returned for nonexistant tiles anyway. If this is implemented there also must be some way to set grow/shrink policy for an image.
A grow srink policy is not necessary. Just let ops have tiles be sparsely allocated, and some kind of generator for generating a default tile (transparent, background, forground, etc). That way, you only need to keep tiles which have interesting data. Since ops shouldn't have bounds in the first place, a grow and shrink policy is rather meaningless.
-- Dan