visualizer setbytesperpixel() corrected, use locations for exportsection