A python project that processes pixels from a frame and then edits it
Replace pixels having a RGB value of col with pixels having a RGB value of col2
im
- PIL image instance
col
- A tuple which contains the RGB values of the pixels that are to be edited
col2
- A tuple with RGB values of a pixel that would be replacing the originial pixels
out
- Output File Location
tolerance
- An int value that decides how many variations of the selected color should be replaced
save
- If set to True, image will automatically save and return True if save was successful. Setting the value to False would return the PIL image instance of the edited image.
Changing information from frames and re-rendering them
Process frames and then edit them