This does the following :
pixpipe.NearestNeighborSparseInterpolationImageFilter
pixpipe.CanvasImageWriter