public override void write()
{
int i;
int tIdx = src.TileIdx;
int tw = src.getTileCompWidth(tIdx, 0); // Tile width
int th = src.getTileCompHeight(tIdx, 0); // Tile height
// Write in strips
for (i = 0; i < th; i += DEF_STRIP_HEIGHT)
{
write(0, i, tw, ((th - i) < DEF_STRIP_HEIGHT)?th - i:DEF_STRIP_HEIGHT);
}
}