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[np.array]) –

Return type

list[np.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 (np.array) –

Return type

Image