images#

Image manipulation utilities.

Functions

change_to_rgba_array(image, dtype='uint8')[source]#

Converts an RGB array into RGBA with the alpha value opacity maxed.

drag_pixels(frames)[source]#
Parameters:

frames (list[numpy.array]) –

Return type:

list[numpy.array]

get_full_raster_image_path(image_file_name)[source]#
Parameters:

image_file_name (str) –

Return type:

Path

get_full_vector_image_path(image_file_name)[source]#
Parameters:

image_file_name (str) –

Return type:

Path

invert_image(image)[source]#
Parameters:

image (array) –

Return type:

<module ‘PIL.Image’ from ‘/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/stable/lib/python3.11/site-packages/PIL/Image.py’>