diff --git a/README_python.md b/README_python.md index f8a9cd316bc3..858c5fd230c8 100644 --- a/README_python.md +++ b/README_python.md @@ -193,8 +193,8 @@ f.vectorize(x, 8).parallel(y) buf = f.realize([edge, edge, 3]) # Do something with the image. We'll just save it to a PNG. -import imageio -imageio.imsave("/tmp/example.png", buf) +from halide import imageio +imageio.imwrite("/tmp/example.png", buf) ``` It's worth noting in the example above that the Halide `Buffer` object supports