Add scanline conversion