yt.utilities.lib.image_utilities module

Utilities for images

yt.utilities.lib.image_utilities.add_points_to_greyscale_image()
yt.utilities.lib.image_utilities.add_points_to_image()
yt.utilities.lib.image_utilities.add_rgba_points_to_image()

Splat rgba points onto an image

Given an image buffer, add colors to pixels defined by fractional positions px and py, with colors rgba. px and py are one dimensional arrays, and rgba is a an array of rgba values.