Sketch ndarray2qimage. Remove extra package dependency.