Skip to main content

Module pixel

Module pixel 

Source
Expand description

Pixel manipulation utilities.

Provides functions for calculating average colors over image regions, essential for downscaling images to fit the terminal grid.

Functionsยง

get_average_rgb
Calculates the average RGB color for a specific rectangular area of the image.