[tiffu crop] adaptation to scanline-based images