add something on edges

John Cupitt 2017-11-14 14:24:51 +00:00
parent 0df024f3dd
commit 643b9c3737

@ -6,6 +6,8 @@ Note that tile overlaps are on both sides of the join, so a one pixel overlap (f
The tile size is usually chosen so that non-edge tiles are a power of two along the side. With overlap one and tile size 254, tile 0_0 will be 255x255, but all no-edge tiles will be 256x256.
Tiles are written even if they contribute no new pixels to the image. With overlap one, for example, you can have a two-pixel edge tile which simply repeats pixels in the previous tile.
This becomes the highest-numbered layer. The tool then scales the image down to half width, rounding odd-sized image sizes up, and runs through and tiles it again, using the same numbering system. This becomes the next level.
The tool continues scaling down by half and outputting new levels until the image is down to approximately 1px wide. This is the lowest level, and it's designated level 0. The next level above it is level 1, etc.